]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/minifram/test.cpp
by default the ctrl accepts keyboard input now (why wouldn't it?)
[wxWidgets.git] / samples / minifram / test.cpp
index 0343dea714e433d92e45e91e29e28da6a5b174ac..5fe386612ac17d735fb989d9747c2dc656d8b37e 100644 (file)
@@ -119,6 +119,8 @@ bool MyApp::InitToolbar(wxToolBar* toolBar)
   toolBar->AddTool(wxID_HELP, *(toolBarBitmaps[7]), wxNullBitmap, FALSE, currentX, -1, (wxObject *) NULL, "Help");
 
   toolBar->Realize();
+  
+  toolBar->EnableTool( wxID_HELP, FALSE );
 
   // Can delete the bitmaps since they're reference counted
   int i;