redraw problems fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
65608e3bb0
commit
a8cd4a3a03
@ -105,6 +105,7 @@ void wxDC::MacSetupPort(AGAPortHelper* help) const
|
||||
{
|
||||
// help->Setup( m_macPort ) ;
|
||||
::SetOrigin(-m_macLocalOrigin.h, -m_macLocalOrigin.v);
|
||||
|
||||
if ( m_clipping )
|
||||
{
|
||||
long x1 = XLOG2DEV(m_clipX1);
|
||||
|
@ -112,6 +112,7 @@ wxPaintDC::wxPaintDC(wxWindow *window)
|
||||
|
||||
m_macPort = UMAGetWindowPort( windowref ) ;
|
||||
m_ok = TRUE ;
|
||||
/*
|
||||
wxCoord x , y ,w , h ;
|
||||
window->GetUpdateRegion().GetBox( x , y , w , h ) ;
|
||||
m_minY = m_minX = 0;
|
||||
@ -119,6 +120,7 @@ wxPaintDC::wxPaintDC(wxWindow *window)
|
||||
m_maxX = size.x ;
|
||||
m_maxY = size.y ;
|
||||
SetClippingRegion( x , y , w , h ) ;
|
||||
*/
|
||||
SetBackground(wxBrush(window->GetBackgroundColour(), wxSOLID));
|
||||
SetFont(window->GetFont() ) ;
|
||||
}
|
||||
|
@ -105,6 +105,7 @@ void wxDC::MacSetupPort(AGAPortHelper* help) const
|
||||
{
|
||||
// help->Setup( m_macPort ) ;
|
||||
::SetOrigin(-m_macLocalOrigin.h, -m_macLocalOrigin.v);
|
||||
|
||||
if ( m_clipping )
|
||||
{
|
||||
long x1 = XLOG2DEV(m_clipX1);
|
||||
|
@ -112,6 +112,7 @@ wxPaintDC::wxPaintDC(wxWindow *window)
|
||||
|
||||
m_macPort = UMAGetWindowPort( windowref ) ;
|
||||
m_ok = TRUE ;
|
||||
/*
|
||||
wxCoord x , y ,w , h ;
|
||||
window->GetUpdateRegion().GetBox( x , y , w , h ) ;
|
||||
m_minY = m_minX = 0;
|
||||
@ -119,6 +120,7 @@ wxPaintDC::wxPaintDC(wxWindow *window)
|
||||
m_maxX = size.x ;
|
||||
m_maxY = size.y ;
|
||||
SetClippingRegion( x , y , w , h ) ;
|
||||
*/
|
||||
SetBackground(wxBrush(window->GetBackgroundColour(), wxSOLID));
|
||||
SetFont(window->GetFont() ) ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user