]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/aui/auidemo.cpp
fixed a center pane bug in sample
[wxWidgets.git] / samples / aui / auidemo.cpp
index b156cfe31602d45f7ac6a40c90a2c5c788970450..fd094e791fd5a0c97d0334de02b7d58f06be8b68 100644 (file)
@@ -880,7 +880,7 @@ MyFrame::MyFrame(wxWindow* parent,
                   CenterPane().Hide());
 
     m_mgr.AddPane(CreateHTMLCtrl(), wxAuiPaneInfo().Name(wxT("html_content")).
-                  CenterPane());
+                  CenterPane().Hide());
 
     m_mgr.AddPane(CreateNotebook(), wxAuiPaneInfo().Name(wxT("notebook_content")).
                   CenterPane().PaneBorder(false));