]> git.saurik.com Git - wxWidgets.git/blobdiff - src/ribbon/panel.cpp
Set the initial size of the expanded ribbon panel correctly.
[wxWidgets.git] / src / ribbon / panel.cpp
index 05621a9a052739559b99959992351adf4f4662ed..06ad53dd8961bfd786b827cf6b7589a9025a7d1e 100644 (file)
@@ -775,6 +775,7 @@ bool wxRibbonPanel::ShowExpanded()
 
     m_expanded_panel->Realize();
     Refresh();
+    container->SetMinClientSize(size);
     container->Show();
     m_expanded_panel->SetFocus();