]> git.saurik.com Git - wxWidgets.git/commitdiff
cursor event support for mac activated
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 29 Mar 2003 15:40:46 +0000 (15:40 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 29 Mar 2003 15:40:46 +0000 (15:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/sashwin.cpp
src/generic/splitter.cpp

index eede398dcef715f60d176698ed3d49ed4bc26794..5d00773b5cfd620fc3a60feb342d816aa6982bf0 100644 (file)
@@ -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)
index 2927eacbdb88ed68b969d6d4bb6c7523f610a6ce..db5c3c62d2b6c38cec44e4dcfc4311afdb427952 100644 (file)
@@ -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)