]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/checkbox.cpp
fixing osx_cocoa
[wxWidgets.git] / src / msw / checkbox.cpp
index a4e49c8ccb6ac920150e937b37d09fdd55262831..3e4c9646247cc007d82a82559d54817d81df2d84 100644 (file)
@@ -260,7 +260,7 @@ bool wxCheckBox::SetForegroundColour(const wxColour& colour)
     // the only way to change the checkbox foreground colour under Windows XP
     // is to owner draw it
     if ( wxUxThemeEngine::GetIfActive() )
-        MakeOwnerDrawn(colour.Ok());
+        MakeOwnerDrawn(colour.IsOk());
 
     return true;
 }