X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/24bd6cb9dfac17711772ec4e028e82c1a1e23386..e1673e527f08395de6864b09540162ca409a3c28:/src/dfb/window.cpp diff --git a/src/dfb/window.cpp b/src/dfb/window.cpp index 2470e530ba..78146c966e 100644 --- a/src/dfb/window.cpp +++ b/src/dfb/window.cpp @@ -565,14 +565,6 @@ void wxWindowDFB::GetTextExtent(const wxString& string, // painting // --------------------------------------------------------------------------- -void wxWindowDFB::Clear() -{ - wxClientDC dc((wxWindow *)this); - wxBrush brush(GetBackgroundColour(), wxSOLID); - dc.SetBackground(brush); - dc.Clear(); -} - void wxWindowDFB::Refresh(bool WXUNUSED(eraseBack), const wxRect *rect) { if ( !IsShown() || IsFrozen() )