]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpfrm.cpp
proper theme fonts
[wxWidgets.git] / src / html / helpfrm.cpp
index f8d35f3a50e14cc6e4cb82f39827e8cc867a86e9..ac2b31819d1de256432e9d06509c7fe269a302a2 100644 (file)
@@ -490,6 +490,13 @@ bool wxHtmlHelpFrame::Create(wxWindow* parent, wxWindowID id,
         }
     }
     
+    // Reduce flicker by updating the splitter pane sizes before the
+    // frame is shown
+    wxSizeEvent sizeEvent(GetSize(), GetId());
+    ProcessEvent(sizeEvent);
+    
+    m_Splitter->UpdateSize();
+    
     return TRUE;
 }