]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed a center pane bug in sample
authorBenjamin Williams <bwilliams@kirix.com>
Mon, 20 Nov 2006 19:33:48 +0000 (19:33 +0000)
committerBenjamin Williams <bwilliams@kirix.com>
Mon, 20 Nov 2006 19:33:48 +0000 (19:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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));