]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/cursor.cpp
don't call OnWriteWaiting() if we lost connection in OnReadWaiting() called just...
[wxWidgets.git] / src / motif / cursor.cpp
index 2f5b567babf0d650a9145c1acedd5614b8e8df87..68f66e43e29e625cdc08b9cd0e7c90737a964d28 100644 (file)
@@ -23,6 +23,7 @@
     #include "wx/utils.h"
     #include "wx/window.h"
     #include "wx/image.h"
+    #include "wx/log.h"
 #endif
 
 #ifdef __VMS__
@@ -305,7 +306,7 @@ wxGDIRefData *wxCursor::CreateGDIRefData() const
 
 wxGDIRefData *wxCursor::CloneGDIRefData(const wxGDIRefData *data) const
 {
-    return new wxCursorRefData(*wx_static_cast(const wxCursorRefData *, data));
+    return new wxCursorRefData(*static_cast<const wxCursorRefData *>(data));
 }
 
 // Motif-specific: create/get a cursor for the current display