]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dcclient.cpp
corrected eventobject setting for mouse events and capture
[wxWidgets.git] / src / gtk / dcclient.cpp
index fc69b408a99a2879bd19cc0fc16a12b2dbf4f217..92566a3da03fba35d659c240278606d7d354622d 100644 (file)
@@ -1569,9 +1569,7 @@ void wxWindowDC::Clear()
 
     if (m_owner)
     {
-        int width,height;
-        m_owner->GetSize( &width, &height );
-        gdk_draw_rectangle( m_window, m_bgGC, TRUE, 0, 0, width, height );
+        m_owner->Clear();
         return;
     }