]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/renderer.cpp
Relax validation of wxCheckBox flags.
[wxWidgets.git] / src / osx / carbon / renderer.cpp
index 659b070891f36e6928204b13a7a5f918f439a1a9..2481dd2242732914376dffed360ca956c7e1a736 100644 (file)
@@ -44,7 +44,7 @@ inline bool wxInPaintEvent(wxWindow* win, wxDC& dc)
 {
     return win->MacGetCGContextRef() != NULL ||
            // wxMemoryDC's also have a valid CGContext.
-           dc.IsKindOf( CLASSINFO(wxMemoryDC) ); 
+           dc.IsKindOf( CLASSINFO(wxMemoryDC) );
 }
 
 
@@ -304,12 +304,12 @@ void wxRendererMac::DrawSplitterSash( wxWindow *win,
 
         if ( hasMetal )
             HIThemeDrawBackground(&splitterRect, &bgdrawInfo, cgContext, kHIThemeOrientationNormal);
-        else 
+        else
         {
             CGContextSetFillColorWithColor(cgContext,win->GetBackgroundColour().GetCGColor());
             CGContextFillRect(cgContext,splitterRect);
         }
-        
+
         HIThemeSplitterDrawInfo drawInfo;
         drawInfo.version = 0;
         drawInfo.state = kThemeStateActive;