]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/splitter.cpp
Readded deprec. constructor.
[wxWidgets.git] / src / generic / splitter.cpp
index 1506cffcd729465f23c42706b1385b223a45f36f..c79934a3ea752a99986cdbbfc2d67e69e002e7b0 100644 (file)
@@ -169,7 +169,7 @@ void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event)
         y = (int)event.GetY();
 
     // reset the cursor
-#ifdef __WXMOTIF__
+#if defined( __WXMOTIF__ ) || defined( __WXMAC__ )
     SetCursor(* wxSTANDARD_CURSOR);
 #elif defined(__WXMSW__)
     SetCursor(wxCursor());
@@ -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();