]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/window.cpp
adding style to constructors
[wxWidgets.git] / src / motif / window.cpp
index 0a70d435a5c8b6ec70e46790a66bf758bbd7b0a3..fcb9aa4b493155713407d98e4f4684dfd66eb608 100644 (file)
@@ -1577,14 +1577,6 @@ void wxWindow::Refresh(bool eraseBack, const wxRect *rect)
     XSendEvent(display, thisWindow, False, ExposureMask, (XEvent *)&dummyEvent);
 }
 
-void wxWindow::Clear()
-{
-    wxClientDC dc(this);
-    wxBrush brush(GetBackgroundColour(), wxSOLID);
-    dc.SetBackground(brush);
-    dc.Clear();
-}
-
 void wxWindow::DoPaint()
 {
     //TODO : make a temporary gc so we can do the XCopyArea below