]> git.saurik.com Git - wxWidgets.git/commitdiff
add a combobox to one of the toolbars, just for testing
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 May 2008 13:28:21 +0000 (13:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 May 2008 13:28:21 +0000 (13:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/aui/auidemo.cpp

index 0e5dc39501c67ec966c05b49c3fe5310c5b8645b..c695aa025c6cf73c471ff0edd845e9a1c9749c07 100644 (file)
@@ -796,6 +796,7 @@ MyFrame::MyFrame(wxWindow* parent,
     tb4->AddTool(101, wxT("Item 6"), tb4_bmp1);
     tb4->AddTool(101, wxT("Item 7"), tb4_bmp1);
     tb4->AddTool(101, wxT("Item 8"), tb4_bmp1);
+    tb4->AddControl(new wxComboBox(tb4, -1));
     tb4->Realize();
 
     // create some toolbars