Better disabling of toolbars and menubars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user