X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b69f1bd1862481d4c10ca2c67e871ff5642ae2ee..012a03e09227258b4ac66745feea617605d7c088:/src/generic/sashwin.cpp diff --git a/src/generic/sashwin.cpp b/src/generic/sashwin.cpp index b0b0c19a6d..bb03e90044 100644 --- a/src/generic/sashwin.cpp +++ b/src/generic/sashwin.cpp @@ -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);