]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/window.cpp
Added cfdataref.h and cfref.h to CoreFoundation headers list.
[wxWidgets.git] / src / mgl / window.cpp
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 )