]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/minifram.cpp
Fix compilation with MinGW -std=c++11 option.
[wxWidgets.git] / src / gtk / minifram.cpp
index 3f435eec9c28d2c90900ca6c385dea535c5695a9..073587e6afd8baa80486179936932cf09164305d 100644 (file)
@@ -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;