From 004f4002877acc09d8bc213602f55b22bdbae345 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 13 Aug 2006 01:17:53 +0000 Subject: [PATCH] remove extraneous commas and semicolons (patch 1537792) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/aui/auidemo.cpp | 4 ++-- samples/checklst/checklst.cpp | 2 +- samples/dataview/dataview.cpp | 2 +- samples/db/listdb.cpp | 2 +- samples/help/demo.cpp | 2 +- samples/html/virtual/virtual.cpp | 2 +- samples/html/widget/widget.cpp | 2 +- samples/layout/layout.cpp | 2 +- samples/oleauto/oleauto.cpp | 2 +- samples/ownerdrw/ownerdrw.cpp | 4 ++-- samples/propsize/propsize.cpp | 2 +- samples/regtest/regtest.cpp | 2 +- samples/rotate/rotate.cpp | 2 +- samples/splash/splash.cpp | 2 +- 14 files changed, 16 insertions(+), 16 deletions(-) diff --git a/samples/aui/auidemo.cpp b/samples/aui/auidemo.cpp index bff987d9c5..44e127782d 100644 --- a/samples/aui/auidemo.cpp +++ b/samples/aui/auidemo.cpp @@ -40,8 +40,8 @@ public: bool OnInit(); }; -DECLARE_APP(MyApp); -IMPLEMENT_APP(MyApp); +DECLARE_APP(MyApp) +IMPLEMENT_APP(MyApp) class wxSizeReportCtrl; diff --git a/samples/checklst/checklst.cpp b/samples/checklst/checklst.cpp index bbf3d8b96e..df48055236 100644 --- a/samples/checklst/checklst.cpp +++ b/samples/checklst/checklst.cpp @@ -146,7 +146,7 @@ BEGIN_EVENT_TABLE(CheckListBoxFrame, wxFrame) EVT_BUTTON(Btn_Down, CheckListBoxFrame::OnButtonDown) END_EVENT_TABLE() -IMPLEMENT_APP(CheckListBoxApp); +IMPLEMENT_APP(CheckListBoxApp) // init our app: create windows bool CheckListBoxApp::OnInit(void) diff --git a/samples/dataview/dataview.cpp b/samples/dataview/dataview.cpp index 0f96a10c0d..673fe97b93 100644 --- a/samples/dataview/dataview.cpp +++ b/samples/dataview/dataview.cpp @@ -34,7 +34,7 @@ WX_DECLARE_LIST(wxDateTime,wxArrayDate); #include -WX_DEFINE_LIST(wxArrayDate); +WX_DEFINE_LIST(wxArrayDate) class MyTextModel: public wxDataViewListModel { diff --git a/samples/db/listdb.cpp b/samples/db/listdb.cpp index 8ceb64352a..58bbaa84ac 100644 --- a/samples/db/listdb.cpp +++ b/samples/db/listdb.cpp @@ -513,6 +513,6 @@ void ClookUpDlg::OnCommand(wxWindow& win, wxCommandEvent& WXUNUSED(event)) } -}; // ClookUpDlg::OnCommand +} // ClookUpDlg::OnCommand // *********************************** listdb.cpp ********************************** diff --git a/samples/help/demo.cpp b/samples/help/demo.cpp index 34fd0eb0f8..819f815468 100644 --- a/samples/help/demo.cpp +++ b/samples/help/demo.cpp @@ -223,7 +223,7 @@ enum HelpDemo_Help_GNOME, HelpDemo_Help_Netscape, // controls start here (the numbers are, of course, arbitrary) - HelpDemo_Text = 1000, + HelpDemo_Text = 1000 }; // ---------------------------------------------------------------------------- diff --git a/samples/html/virtual/virtual.cpp b/samples/html/virtual/virtual.cpp index 5e1f9da2c7..8d5a4e91de 100644 --- a/samples/html/virtual/virtual.cpp +++ b/samples/html/virtual/virtual.cpp @@ -121,7 +121,7 @@ wxFSFile* MyVFS::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString& location) Minimal_Forward, // controls start here (the numbers are, of course, arbitrary) - Minimal_Text = 1000, + Minimal_Text = 1000 }; // ---------------------------------------------------------------------------- diff --git a/samples/html/widget/widget.cpp b/samples/html/widget/widget.cpp index 7607fefdaf..14ff729970 100644 --- a/samples/html/widget/widget.cpp +++ b/samples/html/widget/widget.cpp @@ -122,7 +122,7 @@ enum Minimal_Forward, // controls start here (the numbers are, of course, arbitrary) - Minimal_Text = 1000, + Minimal_Text = 1000 }; // ---------------------------------------------------------------------------- diff --git a/samples/layout/layout.cpp b/samples/layout/layout.cpp index 1b00cbbeeb..58762c05fe 100644 --- a/samples/layout/layout.cpp +++ b/samples/layout/layout.cpp @@ -430,7 +430,7 @@ enum { GBS_MOVE_BTN1, GBS_MOVE_BTN2, - GBS_MAX, + GBS_MAX }; diff --git a/samples/oleauto/oleauto.cpp b/samples/oleauto/oleauto.cpp index bc77c7e8d7..dd207520d4 100644 --- a/samples/oleauto/oleauto.cpp +++ b/samples/oleauto/oleauto.cpp @@ -91,7 +91,7 @@ enum OleAuto_Test, // controls start here (the numbers are, of course, arbitrary) - OleAuto_Text = 1000, + OleAuto_Text = 1000 }; // ---------------------------------------------------------------------------- diff --git a/samples/ownerdrw/ownerdrw.cpp b/samples/ownerdrw/ownerdrw.cpp index 10db9ced6d..3446f71c14 100644 --- a/samples/ownerdrw/ownerdrw.cpp +++ b/samples/ownerdrw/ownerdrw.cpp @@ -70,7 +70,7 @@ enum Menu_Submenu, Menu_Sub1, Menu_Sub2, Menu_Sub3, Menu_Toggle, Menu_About, Control_First = 1000, - Control_Listbox, Control_Listbox2, + Control_Listbox, Control_Listbox2 }; BEGIN_EVENT_TABLE(OwnerDrawnFrame, wxFrame) @@ -83,7 +83,7 @@ BEGIN_EVENT_TABLE(OwnerDrawnFrame, wxFrame) OwnerDrawnFrame::OnListboxDblClick) END_EVENT_TABLE() -IMPLEMENT_APP(OwnerDrawnApp); +IMPLEMENT_APP(OwnerDrawnApp) // init our app: create windows bool OwnerDrawnApp::OnInit(void) diff --git a/samples/propsize/propsize.cpp b/samples/propsize/propsize.cpp index f1ec087e41..32bdba1c53 100644 --- a/samples/propsize/propsize.cpp +++ b/samples/propsize/propsize.cpp @@ -81,7 +81,7 @@ private: enum { // menu items - Minimal_Quit = 1, + Minimal_Quit = 1 }; // ---------------------------------------------------------------------------- diff --git a/samples/regtest/regtest.cpp b/samples/regtest/regtest.cpp index dd05152ec7..a0c05f3a96 100644 --- a/samples/regtest/regtest.cpp +++ b/samples/regtest/regtest.cpp @@ -233,7 +233,7 @@ enum Menu_Delete, Menu_Info, - Ctrl_RegTree = 200, + Ctrl_RegTree = 200 }; // ---------------------------------------------------------------------------- diff --git a/samples/rotate/rotate.cpp b/samples/rotate/rotate.cpp index fb1f8c286f..3b48a063ab 100644 --- a/samples/rotate/rotate.cpp +++ b/samples/rotate/rotate.cpp @@ -153,7 +153,7 @@ bool MyApp::OnInit() // ---------------------------------------------------------------------------- #include "wx/arrimpl.cpp" -WX_DEFINE_OBJARRAY(ArrayOfImages); +WX_DEFINE_OBJARRAY(ArrayOfImages) // ---------------------------------------------------------------------------- // custom canvas control that we can draw on diff --git a/samples/splash/splash.cpp b/samples/splash/splash.cpp index 9fe6957fe7..1b72d0be68 100644 --- a/samples/splash/splash.cpp +++ b/samples/splash/splash.cpp @@ -90,7 +90,7 @@ private: // IDs for the controls and the menu commands enum { - Minimal_Run = wxID_HIGHEST + 1, + Minimal_Run = wxID_HIGHEST + 1 }; // ---------------------------------------------------------------------------- -- 2.45.2