diff --git a/samples/mdi/mdi.cpp b/samples/mdi/mdi.cpp index a915f7fffb..a74fc0742c 100644 --- a/samples/mdi/mdi.cpp +++ b/samples/mdi/mdi.cpp @@ -324,7 +324,7 @@ void MyFrame::InitToolBar(wxToolBar* toolBar) toolBar->AddTool(6, *bitmaps[6], wxNullBitmap, FALSE, currentX, -1, (wxObject *) NULL, _T("Print")); currentX += width + 5; toolBar->AddSeparator(); - toolBar->AddTool(7, *bitmaps[7], wxNullBitmap, TRUE, currentX, -1, (wxObject *) NULL, _T("Help")); + toolBar->AddTool(MDI_ABOUT, *bitmaps[7], wxNullBitmap, TRUE, currentX, -1, (wxObject *) NULL, _T("Help")); toolBar->Realize();