]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/control.cpp
added const for Mac OS X compilation
[wxWidgets.git] / src / mac / carbon / control.cpp
index eb83a83ee005c16dfdead7029b36cb1609539e32..9f495d36efbd710171eb35f448c5edb7add4c4f2 100644 (file)
@@ -646,7 +646,6 @@ void wxControl::MacRedrawControl()
                                
                                UMADrawControl( m_macControl ) ;
                                UMASetThemeWindowBackground( win->MacGetWindowData()->m_macWindow , win->MacGetWindowData()->m_macWindowBackgroundTheme , false ) ;
-                               wxDC::MacInvalidateSetup() ;
                        }
                }
        }
@@ -688,7 +687,6 @@ void wxControl::OnPaint(wxPaintEvent& event)
                                
                                UMADrawControl( m_macControl ) ;
                                UMASetThemeWindowBackground( win->MacGetWindowData()->m_macWindow , win->MacGetWindowData()->m_macWindowBackgroundTheme , false ) ;
-                               wxDC::MacInvalidateSetup() ;
                        }
                }
        }