X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1897abe1d8ac5e9575f4c9a589ea7ce08189506a..ad653fa23069c5d9378247084f03c9a718c3ad62:/src/gtk/mdi.cpp diff --git a/src/gtk/mdi.cpp b/src/gtk/mdi.cpp index c9c2cb3881..5480673b29 100644 --- a/src/gtk/mdi.cpp +++ b/src/gtk/mdi.cpp @@ -191,7 +191,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)