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

src/generic/splitter.cpp

index 1506cffcd729465f23c42706b1385b223a45f36f..e006f9c2776b25ec90ba5c2e4add903b4b082e04 100644 (file)
@@ -169,7 +169,7 @@ void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event)
         y = (int)event.GetY();
 
     // reset the cursor
         y = (int)event.GetY();
 
     // reset the cursor
-#ifdef __WXMOTIF__
+#if defined( __WXMOTIF__ ) || defined( __WXMAC__ )
     SetCursor(* wxSTANDARD_CURSOR);
 #elif defined(__WXMSW__)
     SetCursor(wxCursor());
     SetCursor(* wxSTANDARD_CURSOR);
 #elif defined(__WXMSW__)
     SetCursor(wxCursor());