X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/09bb25519779ca8bec0719e01833bdd9aafea955..72db8894790c0fc32a8a57e9e2f750e8f95222b1:/src/stc/PlatWX.cpp diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index 6ef0b13ba4..8edc3bf5e7 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -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); } @@ -646,7 +650,7 @@ void Window::SetTitle(const char *s) { // Helper classes for ListBox -#if defined(__WXMAC__) +#if 1 // defined(__WXMAC__) class wxSTCListBoxWin : public wxListBox { public: wxSTCListBoxWin(wxWindow* parent, wxWindowID id)