From a4f1a5f286aba99a0ed1098bfae1e28eb68c62d1 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Wed, 23 Jun 2004 16:04:10 +0000 Subject: [PATCH] fix bug with button doing nothing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/mdi/mdi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/mdi/mdi.cpp b/samples/mdi/mdi.cpp index d80dbd294a..f8b7b47e74 100644 --- a/samples/mdi/mdi.cpp +++ b/samples/mdi/mdi.cpp @@ -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(); -- 2.45.2