]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/stc/PlatWX.cpp
Actually check if the menu should be shown before popping it up
[wxWidgets.git] / contrib / src / stc / PlatWX.cpp
index 6ef0b13ba4685ce3b870d09ece3112c83b6a4ba3..6cb4b7cefa77d2aafecc96d9e5793f14968edc1d 100644 (file)
@@ -632,8 +632,12 @@ void Window::SetCursor(Cursor curs) {
         cursorId = wxCURSOR_ARROW;
         break;
     }
-
-    GETWIN(id)->SetCursor(wxCursor(cursorId));
+#ifdef __WXMOTIF__
+       wxCursor wc = wxStockCursor(cursorId) ;
+#else
+       wxCursor wc = wxCursor(cursorId) ;
+#endif
+       GETWIN(id)->SetCursor(wc);   
 }