]> git.saurik.com Git - wxWidgets.git/commitdiff
added test pane which has no close button
authorBenjamin Williams <bwilliams@kirix.com>
Mon, 24 Jul 2006 15:57:44 +0000 (15:57 +0000)
committerBenjamin Williams <bwilliams@kirix.com>
Mon, 24 Jul 2006 15:57:44 +0000 (15:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/aui/auidemo.cpp

index aa6ad6504519390e97cb5eae0c7a4eafb8a8247e..da8225b3c79a0d062b580790d6595810795d4fc9 100644 (file)
@@ -748,8 +748,8 @@ MyFrame::MyFrame(wxWindow* parent,
                   Left());
 
     m_mgr.AddPane(CreateSizeReportCtrl(), wxPaneInfo().
-                  Name(wxT("test5")).Caption(wxT("Pane Caption")).
-                  Right());
+                  Name(wxT("test5")).Caption(wxT("No Close Button")).
+                  Right().CloseButton(false));
 
     m_mgr.AddPane(CreateSizeReportCtrl(), wxPaneInfo().
                   Name(wxT("test6")).Caption(wxT("Client Size Reporter")).