From 402a82c6be72336d20aa72514989f7d7593ca07b Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 6 Aug 1999 13:41:55 +0000 Subject: [PATCH] Minor corrections to samples again. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- distrib/msw/copy_src.bat | 8 +++----- samples/toolbar/test.cpp | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/distrib/msw/copy_src.bat b/distrib/msw/copy_src.bat index 7b3f490893..a68ce55d79 100755 --- a/distrib/msw/copy_src.bat +++ b/distrib/msw/copy_src.bat @@ -530,8 +530,7 @@ echo Minifram sample.. cd minifram md \wxmsw_dist\wxMSW\samples\minifram -copy Makefile.am \wxmsw_dist\wxMSW\samples\minifram -copy Makefile.in \wxmsw_dist\wxMSW\samples\minifram +copy Makefile.* \wxmsw_dist\wxMSW\samples\minifram copy *.cpp \wxmsw_dist\wxMSW\samples\minifram copy *.xpm \wxmsw_dist\wxMSW\samples\minifram copy *.ico \wxmsw_dist\wxMSW\samples\minifram @@ -606,7 +605,7 @@ cd .. echo Scroll sample.. -cd sashtest +cd scroll md \wxmsw_dist\wxMSW\samples\scroll copy Makefile.* \wxmsw_dist\wxMSW\samples\scroll copy *.cpp \wxmsw_dist\wxMSW\samples\scroll @@ -653,8 +652,7 @@ echo Toolbar sample.. cd toolbar md \wxmsw_dist\wxMSW\samples\toolbar -copy Makefile.am \wxmsw_dist\wxMSW\samples\toolbar -copy Makefile.in \wxmsw_dist\wxMSW\samples\toolbar +copy Makefile.* \wxmsw_dist\wxMSW\samples\toolbar copy *.cpp \wxmsw_dist\wxMSW\samples\toolbar copy *.h \wxmsw_dist\wxMSW\samples\toolbar copy *.rc \wxmsw_dist\wxMSW\samples\toolbar diff --git a/samples/toolbar/test.cpp b/samples/toolbar/test.cpp index 4276292f46..3385bb3e37 100644 --- a/samples/toolbar/test.cpp +++ b/samples/toolbar/test.cpp @@ -157,6 +157,7 @@ bool MyApp::InitToolbar(wxToolBar* toolBar) BEGIN_EVENT_TABLE(MyFrame, wxFrame) EVT_MENU(wxID_EXIT, MyFrame::OnQuit) + EVT_MENU(wxID_HELP, MyFrame::OnAbout) EVT_CLOSE(MyFrame::OnCloseWindow) EVT_MENU(-1, MyFrame::OnToolLeftClick) EVT_TOOL_ENTER(ID_TOOLBAR, MyFrame::OnToolEnter) -- 2.45.2