X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d8209b9070ea7120078e83a648f3627e57bc15a..63e1921d0be4956ab729735189ccf637773a7e27:/src/gtk/minifram.cpp diff --git a/src/gtk/minifram.cpp b/src/gtk/minifram.cpp index 3f435eec9c..073587e6af 100644 --- a/src/gtk/minifram.cpp +++ b/src/gtk/minifram.cpp @@ -435,6 +435,10 @@ bool wxMiniFrame::Create( wxWindow *parent, wxWindowID id, const wxString &title void wxMiniFrame::DoGetClientSize(int* width, int* height) const { wxFrame::DoGetClientSize(width, height); + + if (m_useCachedClientSize) + return; + if (width) { *width -= 2 * m_miniEdge;