]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/sashwin.cpp
Small correction to list ctrl and default button size.
[wxWidgets.git] / src / generic / sashwin.cpp
index 46a3e5f7ebdf9ceea06c8c761eff74af9da6ef8a..bb03e9004425af72d1c83127d7744df16e8878ea 100644 (file)
@@ -111,7 +111,12 @@ void wxSashWindow::OnMouseEvent(wxMouseEvent& event)
     wxSashEdgePosition sashHit = SashHitTest(x, y);
 
     // reset the cursor
+#ifdef __WXMOTIF__
+    SetCursor(* wxSTANDARD_CURSOR);
+#endif
+#ifdef __WXMSW__
     SetCursor(wxCursor());
+#endif
 
        if (event.LeftDown())
        {
@@ -511,7 +516,7 @@ void wxSashWindow::DrawSashTracker(wxSashEdgePosition edge, int x, int y)
 
     wxPen sashTrackerPen(*wxBLACK, 2, wxSOLID);
 
-    screenDC.SetLogicalFunction(wxXOR);
+    screenDC.SetLogicalFunction(wxINVERT);
     screenDC.SetPen(sashTrackerPen);
     screenDC.SetBrush(*wxTRANSPARENT_BRUSH);