From 64407854c188761c982072f9c94c479284ee0dfe Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 29 Mar 2003 15:40:46 +0000 Subject: [PATCH] cursor event support for mac activated git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/sashwin.cpp | 4 ++-- src/generic/splitter.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/generic/sashwin.cpp b/src/generic/sashwin.cpp index eede398dce..5d00773b5c 100644 --- a/src/generic/sashwin.cpp +++ b/src/generic/sashwin.cpp @@ -46,7 +46,7 @@ BEGIN_EVENT_TABLE(wxSashWindow, wxWindow) EVT_PAINT(wxSashWindow::OnPaint) EVT_SIZE(wxSashWindow::OnSize) EVT_MOUSE_EVENTS(wxSashWindow::OnMouseEvent) -#ifdef __WXMSW__ +#if defined( __WXMSW__ ) || defined( __WXMAC__) EVT_SET_CURSOR(wxSashWindow::OnSetCursor) #endif // wxMSW @@ -702,7 +702,7 @@ void wxSashWindow::SetSashVisible(wxSashEdgePosition edge, bool sash) m_sashes[edge].m_margin = 0; } -#ifdef __WXMSW__ +#if defined( __WXMSW__ ) || defined( __WXMAC__) // this is currently called (and needed) under MSW only... void wxSashWindow::OnSetCursor(wxSetCursorEvent& event) diff --git a/src/generic/splitter.cpp b/src/generic/splitter.cpp index 2927eacbdb..db5c3c62d2 100644 --- a/src/generic/splitter.cpp +++ b/src/generic/splitter.cpp @@ -52,7 +52,7 @@ BEGIN_EVENT_TABLE(wxSplitterWindow, wxWindow) EVT_IDLE(wxSplitterWindow::OnIdle) EVT_MOUSE_EVENTS(wxSplitterWindow::OnMouseEvent) -#ifdef __WXMSW__ +#if defined( __WXMSW__ ) || defined( __WXMAC__) EVT_SET_CURSOR(wxSplitterWindow::OnSetCursor) #endif // wxMSW @@ -1087,7 +1087,7 @@ void wxSplitterWindow::OnUnsplit(wxWindow *winRemoved) (void)DoSendEvent(event); } -#ifdef __WXMSW__ +#if defined( __WXMSW__ ) || defined( __WXMAC__) // this is currently called (and needed) under MSW only... void wxSplitterWindow::OnSetCursor(wxSetCursorEvent& event) -- 2.45.2