]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/toolbar/test.cpp
wxTreeCtrl::Sort() changed, adapted the sample to show it.
[wxWidgets.git] / samples / toolbar / test.cpp
index 69bbfe4173d03f2a5107e51d917808d8241b32c4..2403237fc08d9d5ed4ed5d58c41bd7075187580f 100644 (file)
@@ -71,6 +71,8 @@ bool MyApp::OnInit(void)
 
   // Create the toolbar
   frame->CreateToolBar(wxNO_BORDER|wxHORIZONTAL|wxTB_FLAT, ID_TOOLBAR);
+  
+  frame->GetToolBar()->SetMargins( 2, 2 );
 
   InitToolbar(frame->GetToolBar());