]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed OnSetCursor for Mac
authorJulian Smart <julian@anthemion.co.uk>
Thu, 3 Apr 2003 18:17:05 +0000 (18:17 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 3 Apr 2003 18:17:05 +0000 (18:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/sashwin.h
include/wx/generic/splitter.h

index 21df4769c0023c950bf5944a777c4a5a09779f5d..211fc4b783ac950adc4b38589780eb6091fa221a 100644 (file)
@@ -138,7 +138,7 @@ public:
     // Adjusts the panes
     void OnSize(wxSizeEvent& event);
 
-#ifdef __WXMSW__
+#if defined(__WXMSW__) || defined(__WXMAC__)
     // Handle cursor correctly
     void OnSetCursor(wxSetCursorEvent& event);
 #endif // wxMSW
index ef39753205cbe94ae5811f9cf1427265c7893c1c..c11307d69afd4900880baf6bf575ac4663ea9eb3 100644 (file)
@@ -215,7 +215,7 @@ public:
 
 protected:
     // event handlers
-#ifdef __WXMSW__
+#if defined(__WXMSW__) || defined(__WXMAC__)
     void OnSetCursor(wxSetCursorEvent& event);
 #endif // wxMSW