]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/dcclient.cpp
make it possible to use wxToolBarSimple as wxToolBar with wxUniv
[wxWidgets.git] / src / mac / dcclient.cpp
index 19d325a772483446f72f586ba7b61d7b0fd521f8..8d97ce488925e06e76648c4f0a99351bcbf88147 100644 (file)
@@ -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() ) ;
 }