]> git.saurik.com Git - wxWidgets.git/commitdiff
remove wxWindow::Clear() from wxDFB and wxMGL which was unused (probably replaced...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 17 Oct 2007 18:22:15 +0000 (18:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 17 Oct 2007 18:22:15 +0000 (18:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dfb/window.h
include/wx/mgl/window.h
src/dfb/window.cpp
src/mgl/window.cpp

index 0d60daebe6c562f6da9452349334e521c44c9a14..2fc0544cd26a25d97ce7759ae8d09be106fe6c81 100644 (file)
@@ -75,7 +75,6 @@ public:
     virtual void Refresh(bool eraseBackground = true,
                          const wxRect *rect = (const wxRect *) NULL);
     virtual void Update();
-    virtual void Clear();
     virtual void Freeze();
     virtual void Thaw();
     virtual bool IsFrozen() const { return m_frozenness > 0; }
index 074cc19b5bdc79d5c52447879d50ffb60c5c4ae2..4c3091bd4f6e407149c315134ad3420bb64ffe08 100644 (file)
@@ -68,7 +68,6 @@ public:
     virtual void Refresh(bool eraseBackground = true,
                          const wxRect *rect = (const wxRect *) NULL);
     virtual void Update();
-    virtual void Clear();
     virtual void Freeze();
     virtual void Thaw();
 
index 2470e530ba6d6bd99c3fa50c28255766b7a16d31..78146c966e3574498dc22f4467f09938097e27c1 100644 (file)
@@ -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() )
index caa7490178dc9b7e7acb45a9cae060d6c3f4f834..082e7dc7c8b0a5eec3bd1b09215c2ff6b546f288 100644 (file)
@@ -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 )