]> git.saurik.com Git - wxWidgets.git/commitdiff
revert r73185, it should no longer be needed after r73231
authorPaul Cornett <paulcor@bullseye.com>
Fri, 21 Dec 2012 05:45:02 +0000 (05:45 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Fri, 21 Dec 2012 05:45:02 +0000 (05:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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);
 }
 
 //-----------------------------------------------------------------------------