]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/sashwin.cpp
Committing in .
[wxWidgets.git] / src / generic / sashwin.cpp
index 5f0bbe3ba1b0cd014029d5bbd7312e35aacb3be3..160dcb158be92fb00cb8a00b3c903a2f611982b9 100644 (file)
@@ -111,11 +111,11 @@ void wxSashWindow::OnMouseEvent(wxMouseEvent& event)
     wxSashEdgePosition sashHit = SashHitTest(x, y);
 
     // reset the cursor
-#ifdef __WXMOTIF__
+#if defined(__WXMOTIF__) || defined(__WXGTK__)
     SetCursor(* wxSTANDARD_CURSOR);
 #endif
 #ifdef __WXMSW__
-    SetCursor(wxCursor());
+    SetCursor(wxNullCursor);
 #endif
 
     if (event.LeftDown())
@@ -306,7 +306,7 @@ void wxSashWindow::OnMouseEvent(wxMouseEvent& event)
         }
         else
         {
-            SetCursor(* wxSTANDARD_CURSOR);
+            SetCursor(wxNullCursor);
         }
     }
     else if ( event.Dragging() &&