]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/topluniv.cpp
implemented writing in original encoding
[wxWidgets.git] / src / univ / topluniv.cpp
index b324c5ba23d77a49b4240bb0cbf19dfb6c8fff13..c5ffe12df3f0faf8e155292566e5fba6bc6bf7cd 100644 (file)
@@ -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,