fix bug with button doing nothing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott 2004-06-23 16:04:10 +00:00
parent 723e9bc9d9
commit a4f1a5f286

View File

@ -331,7 +331,7 @@ void MyFrame::InitToolBar(wxToolBar* toolBar)
toolBar->AddTool(6, *bitmaps[6], wxNullBitmap, false, currentX, wxDefaultPosition.y, (wxObject *) NULL, _T("Print"));
currentX += width + 5;
toolBar->AddSeparator();
toolBar->AddTool(7, *bitmaps[7], wxNullBitmap, true, currentX, wxDefaultPosition.y, (wxObject *) NULL, _T("Help"));
toolBar->AddTool( MDI_ABOUT, *bitmaps[7], wxNullBitmap, true, currentX, wxDefaultPosition.y, (wxObject *) NULL, _T("Help"));
toolBar->Realize();