From: Paul Cornett Date: Fri, 21 Dec 2012 05:45:02 +0000 (+0000) Subject: revert r73185, it should no longer be needed after r73231 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/76274efd346219516fbc8f04c4546beb1e859f9e revert r73185, it should no longer be needed after r73231 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index 4c4416ebe1..9f5aedbe53 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -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); } //-----------------------------------------------------------------------------