X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..9a33ef7c3cc827658ba12b553c40af432f10bc3b:/src/motif/window.cpp diff --git a/src/motif/window.cpp b/src/motif/window.cpp index 0a70d435a5..fcb9aa4b49 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -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