]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/mdi.cpp
Disable wxUSE_ENH_METAFILE for wxGTK builds.
[wxWidgets.git] / src / gtk / mdi.cpp
index c9c2cb388125ab71c003a5d43b5a9aa7e99ddbf6..5480673b29e0d7c815ac4b3eae161bea03674af6 100644 (file)
@@ -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)