From 91ce04cf9eebea05d3e8f68ee87de3758511459e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 3 Apr 2003 18:17:05 +0000 Subject: [PATCH] Fixed OnSetCursor for Mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/generic/sashwin.h | 2 +- include/wx/generic/splitter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/generic/sashwin.h b/include/wx/generic/sashwin.h index 21df4769c0..211fc4b783 100644 --- a/include/wx/generic/sashwin.h +++ b/include/wx/generic/sashwin.h @@ -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 diff --git a/include/wx/generic/splitter.h b/include/wx/generic/splitter.h index ef39753205..c11307d69a 100644 --- a/include/wx/generic/splitter.h +++ b/include/wx/generic/splitter.h @@ -215,7 +215,7 @@ public: protected: // event handlers -#ifdef __WXMSW__ +#if defined(__WXMSW__) || defined(__WXMAC__) void OnSetCursor(wxSetCursorEvent& event); #endif // wxMSW -- 2.45.2