From 9bd9afc71d9dd8b258aaae140dc78507ee16dd28 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 8 Jan 2002 23:25:30 +0000 Subject: [PATCH] reverted my previous fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/topluniv.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/univ/topluniv.cpp b/src/univ/topluniv.cpp index b324c5ba23..c5ffe12df3 100644 --- a/src/univ/topluniv.cpp +++ b/src/univ/topluniv.cpp @@ -211,15 +211,7 @@ void wxTopLevelWindow::DoGetClientSize(int *width, int *height) const if ( ms_drawDecorations ) { int w, h; - // VS: we can't use real client area size in 'rect', because - // wxTLWNative::DoGetClientSize calls GetClientAreaOrigin - // under wxMSW which in turn calls DoGetClientSize... - // inifinite recursion - #if 0 wxTopLevelWindowNative::DoGetClientSize(&w, &h); - #else - w = h = 500; - #endif wxRect rect = wxRect(wxTopLevelWindowNative::GetClientAreaOrigin(), wxSize(w, h)); rect = m_renderer->GetFrameClientArea(rect, -- 2.50.0