]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/cursor.cpp
If there is a sizer then use it's calculated minimum in wxStaticBox::DoGetBestSize
[wxWidgets.git] / src / os2 / cursor.cpp
index 1f14052c8cfbefec3cdd58c5dce0fc13fdfd3426..756677c1cad143a6b496c4e0191ef3e9b96b35aa 100644 (file)
@@ -302,7 +302,7 @@ void wxSetCursor(const wxCursor& cursor)
 {
     extern wxCursor *g_globalCursor;
 
-    if ( cursor.Ok() && cursor.GetHCURSOR() )
+    if ( cursor.IsOk() && cursor.GetHCURSOR() )
     {
 //        ::SetCursor((HCURSOR) cursor.GetHCURSOR());