]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dcclient.cpp
revert r73185, it should no longer be needed after r73231
[wxWidgets.git] / src / gtk / dcclient.cpp
index 4c4416ebe13449da3a2a2e1b4373e32237ecb7b1..9f5aedbe53956288375eb34cbc7d91e314f259c2 100644 (file)
@@ -2103,10 +2103,7 @@ void wxClientDCImpl::DoGetSize(int *width, int *height) const
 {
     wxCHECK_RET( m_window, wxT("GetSize() doesn't work without window") );
 
-    if (m_window->m_wxwindow && m_gdkwindow)
-        gdk_drawable_get_size(m_gdkwindow, width, height);
-    else
-        m_window->GetClientSize(width, height);
+    m_window->GetClientSize(width, height);
 }
 
 //-----------------------------------------------------------------------------