]> git.saurik.com Git - wxWidgets.git/commitdiff
STC and Motif patch
authorChris Elliott <biol75@york.ac.uk>
Fri, 28 Jun 2002 11:41:55 +0000 (11:41 +0000)
committerChris Elliott <biol75@york.ac.uk>
Fri, 28 Jun 2002 11:41:55 +0000 (11:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/stc/PlatWX.cpp
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);   
 }
 
 
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);   
 }