]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/cursor.cpp
avoid setting initial position if it was not specified, broken in r70734
[wxWidgets.git] / src / x11 / cursor.cpp
index d89db5b45044556748523b4ca92055c7f3b34ea2..b8f7e4aa31c8fd6d1f7723046c4a696a7aa64733 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Julian Smart
 // Modified by:
 // Created:     17/09/98
-// RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -201,7 +200,7 @@ void wxBeginBusyCursor( const wxCursor *WXUNUSED(cursor) )
     if (gs_busyCount++ > 0)
         return;
 
-    wxASSERT_MSG( !gs_savedCursor.Ok(),
+    wxASSERT_MSG( !gs_savedCursor.IsOk(),
                   wxT("forgot to call wxEndBusyCursor, will leak memory") );
 
     gs_savedCursor = g_globalCursor;