]> git.saurik.com Git - wxWidgets.git/commitdiff
yet another code for wxMac properly resetting the cursor
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 7 Sep 2002 08:26:16 +0000 (08:26 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 7 Sep 2002 08:26:16 +0000 (08:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/splitter.cpp

index e006f9c2776b25ec90ba5c2e4add903b4b082e04..c79934a3ea752a99986cdbbfc2d67e69e002e7b0 100644 (file)
@@ -287,7 +287,7 @@ void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event)
     }
     else if (event.Dragging() && (m_dragMode == wxSPLIT_DRAG_DRAGGING))
     {
-#ifdef __WXMSW__
+#if defined( __WXMSW__ ) || defined( __WXMAC__ )
         // Otherwise, the cursor sometimes reverts to the normal cursor
         // during dragging.
         SetResizeCursor();