use "new" wx-prefixed macros in samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
IMPLEMENT_APP(MyApp)
|
||||
|
||||
BEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
wxBEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
EVT_MENU(wxID_EXIT, MyFrame::OnExit)
|
||||
EVT_CLOSE( MyFrame::OnClose )
|
||||
EVT_BUTTON( ID_START, MyFrame::OnStart )
|
||||
@@ -57,7 +57,7 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
EVT_BUTTON( ID_POKE, MyFrame::OnPoke )
|
||||
EVT_BUTTON( ID_EXECUTE, MyFrame::OnExecute )
|
||||
EVT_BUTTON( ID_REQUEST, MyFrame::OnRequest )
|
||||
END_EVENT_TABLE()
|
||||
wxEND_EVENT_TABLE()
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// globals
|
||||
|
@@ -75,7 +75,7 @@ protected:
|
||||
void OnRequest(wxCommandEvent& event);
|
||||
|
||||
protected:
|
||||
DECLARE_EVENT_TABLE()
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
};
|
||||
|
||||
class MyConnection : public MyConnectionBase
|
||||
|
@@ -45,14 +45,14 @@
|
||||
|
||||
IMPLEMENT_APP(MyApp)
|
||||
|
||||
BEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
wxBEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
EVT_CLOSE( MyFrame::OnClose )
|
||||
|
||||
EVT_BUTTON( ID_START, MyFrame::OnStart )
|
||||
EVT_CHOICE( ID_SERVERNAME, MyFrame::OnServerName )
|
||||
EVT_BUTTON( ID_DISCONNECT, MyFrame::OnDisconnect )
|
||||
EVT_BUTTON( ID_ADVISE, MyFrame::OnAdvise )
|
||||
END_EVENT_TABLE()
|
||||
wxEND_EVENT_TABLE()
|
||||
|
||||
|
||||
// ============================================================================
|
||||
|
@@ -59,7 +59,7 @@ protected:
|
||||
void OnDisconnect( wxCommandEvent &event );
|
||||
void OnAdvise( wxCommandEvent &event );
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
};
|
||||
|
||||
class MyConnection : public MyConnectionBase
|
||||
|
Reference in New Issue
Block a user