X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/907789a0f72354f30ec04f79f03a0b7e2a29ac9a..74295623bb14ed23da081f002aa99380d5c1a2e2:/samples/minifram/test.cpp?ds=sidebyside diff --git a/samples/minifram/test.cpp b/samples/minifram/test.cpp index 0343dea714..5fe386612a 100644 --- a/samples/minifram/test.cpp +++ b/samples/minifram/test.cpp @@ -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;