]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/tbarbase.cpp
fixing osx_cocoa
[wxWidgets.git] / src / common / tbarbase.cpp
index 8288e947d423b05ddedf90b12525b9ec5b433518..ced3746df2c433c407c95437c24a7ded2bac50f3 100644 (file)
@@ -757,7 +757,7 @@ bool wxCreateGreyedImage(const wxImage& in, wxImage& out)
 {
 #if wxUSE_IMAGE
     out = in.ConvertToGreyscale();
-    if ( out.Ok() )
+    if ( out.IsOk() )
         return true;
 #endif // wxUSE_IMAGE
     return false;