]> 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 b0b0c19a6d1bd23f81567f13fbccfd478709b21f..bb03e9004425af72d1c83127d7744df16e8878ea 100644 (file)
@@ -113,7 +113,8 @@ void wxSashWindow::OnMouseEvent(wxMouseEvent& event)
     // reset the cursor
 #ifdef __WXMOTIF__
     SetCursor(* wxSTANDARD_CURSOR);
-#else
+#endif
+#ifdef __WXMSW__
     SetCursor(wxCursor());
 #endif
 
@@ -515,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);