X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/24bd6cb9dfac17711772ec4e028e82c1a1e23386..a66571e59a72b2f5d3f6df28465394eb7b2a0398:/src/mgl/window.cpp diff --git a/src/mgl/window.cpp b/src/mgl/window.cpp index caa7490178..082e7dc7c8 100644 --- a/src/mgl/window.cpp +++ b/src/mgl/window.cpp @@ -1099,14 +1099,6 @@ void wxWindowMGL::GetTextExtent(const wxString& string, // painting // --------------------------------------------------------------------------- -void wxWindowMGL::Clear() -{ - wxClientDC dc((wxWindow *)this); - wxBrush brush(GetBackgroundColour(), wxSOLID); - dc.SetBackground(brush); - dc.Clear(); -} - void wxWindowMGL::Refresh(bool eraseBack, const wxRect *rect) { if ( m_eraseBackground == -1 )