windows emit wxCreateWindowEvent

generic controls use wxINVERT for rubberbands etc
  wxXOR maps to GdkXOR etc


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-05-25 13:36:09 +00:00
parent 92b87be518
commit 3c679789bd
11 changed files with 64 additions and 41 deletions

View File

@@ -537,7 +537,7 @@ void wxSplitterWindow::DrawSashTracker(int x, int y)
ClientToScreen(&x1, &y1);
ClientToScreen(&x2, &y2);
screenDC.SetLogicalFunction(wxXOR);
screenDC.SetLogicalFunction(wxINVERT);
screenDC.SetPen(*m_sashTrackerPen);
screenDC.SetBrush(*wxTRANSPARENT_BRUSH);
@@ -599,9 +599,13 @@ void wxSplitterWindow::SizeWindows()
m_windowTwo->Layout();
}
}
#ifdef __WXGTK__
Refresh();
#else
wxClientDC dc(this);
DrawBorders(dc);
DrawSash(dc);
#endif
}
// Set pane for unsplit window