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
This commit is contained in:
@@ -2103,10 +2103,7 @@ void wxClientDCImpl::DoGetSize(int *width, int *height) const
|
|||||||
{
|
{
|
||||||
wxCHECK_RET( m_window, wxT("GetSize() doesn't work without window") );
|
wxCHECK_RET( m_window, wxT("GetSize() doesn't work without window") );
|
||||||
|
|
||||||
if (m_window->m_wxwindow && m_gdkwindow)
|
m_window->GetClientSize(width, height);
|
||||||
gdk_drawable_get_size(m_gdkwindow, width, height);
|
|
||||||
else
|
|
||||||
m_window->GetClientSize(width, height);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user