bool OnInit();
};
-DECLARE_APP(MyApp);
-IMPLEMENT_APP(MyApp);
+DECLARE_APP(MyApp)
+IMPLEMENT_APP(MyApp)
class wxSizeReportCtrl;
EVT_BUTTON(Btn_Down, CheckListBoxFrame::OnButtonDown)
END_EVENT_TABLE()
-IMPLEMENT_APP(CheckListBoxApp);
+IMPLEMENT_APP(CheckListBoxApp)
// init our app: create windows
bool CheckListBoxApp::OnInit(void)
WX_DECLARE_LIST(wxDateTime,wxArrayDate);
#include <wx/listimpl.cpp>
-WX_DEFINE_LIST(wxArrayDate);
+WX_DEFINE_LIST(wxArrayDate)
class MyTextModel: public wxDataViewListModel
{
}
-}; // ClookUpDlg::OnCommand
+} // ClookUpDlg::OnCommand
// *********************************** listdb.cpp **********************************
HelpDemo_Help_GNOME,
HelpDemo_Help_Netscape,
// controls start here (the numbers are, of course, arbitrary)
- HelpDemo_Text = 1000,
+ HelpDemo_Text = 1000
};
// ----------------------------------------------------------------------------
Minimal_Forward,
// controls start here (the numbers are, of course, arbitrary)
- Minimal_Text = 1000,
+ Minimal_Text = 1000
};
// ----------------------------------------------------------------------------
Minimal_Forward,
// controls start here (the numbers are, of course, arbitrary)
- Minimal_Text = 1000,
+ Minimal_Text = 1000
};
// ----------------------------------------------------------------------------
GBS_MOVE_BTN1,
GBS_MOVE_BTN2,
- GBS_MAX,
+ GBS_MAX
};
OleAuto_Test,
// controls start here (the numbers are, of course, arbitrary)
- OleAuto_Text = 1000,
+ OleAuto_Text = 1000
};
// ----------------------------------------------------------------------------
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)
OwnerDrawnFrame::OnListboxDblClick)
END_EVENT_TABLE()
-IMPLEMENT_APP(OwnerDrawnApp);
+IMPLEMENT_APP(OwnerDrawnApp)
// init our app: create windows
bool OwnerDrawnApp::OnInit(void)
enum
{
// menu items
- Minimal_Quit = 1,
+ Minimal_Quit = 1
};
// ----------------------------------------------------------------------------
Menu_Delete,
Menu_Info,
- Ctrl_RegTree = 200,
+ Ctrl_RegTree = 200
};
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
#include "wx/arrimpl.cpp"
-WX_DEFINE_OBJARRAY(ArrayOfImages);
+WX_DEFINE_OBJARRAY(ArrayOfImages)
// ----------------------------------------------------------------------------
// custom canvas control that we can draw on
// IDs for the controls and the menu commands
enum
{
- Minimal_Run = wxID_HIGHEST + 1,
+ Minimal_Run = wxID_HIGHEST + 1
};
// ----------------------------------------------------------------------------