X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1897abe1d8ac5e9575f4c9a589ea7ce08189506a..4a2d030adfa836f6ada1830c9057170d053bcc64:/src/gtk/mdi.cpp diff --git a/src/gtk/mdi.cpp b/src/gtk/mdi.cpp index c9c2cb3881..3454d4f90b 100644 --- a/src/gtk/mdi.cpp +++ b/src/gtk/mdi.cpp @@ -2,7 +2,6 @@ // Name: src/gtk/mdi.cpp // Purpose: // Author: Robert Roebling -// Id: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -191,7 +190,7 @@ void wxMDIParentFrame::DoGetClientSize(int* width, int* height) const { wxFrame::DoGetClientSize(width, height); - if (height) + if (!m_useCachedClientSize && height) { wxMDIChildFrame* active_child_frame = GetActiveChild(); if (active_child_frame)