X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/621b405fb5c7d7a64ac6165a04a96745b52e1cc0..859e65deb544f039ff4a889da0a8047a0b8c9ca2:/src/univ/topluniv.cpp 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,