--- nono/util/viewcgrom/viewcgrom.cpp 2026/04/29 17:04:55 1.1.1.3 +++ nono/util/viewcgrom/viewcgrom.cpp 2026/04/29 17:05:27 1.1.1.4 @@ -171,7 +171,7 @@ bool MyApp::OnInit() } // イベントテーブル -BEGIN_EVENT_TABLE(MyFrame, inherited) +wxBEGIN_EVENT_TABLE(MyFrame, inherited) EVT_CONTEXT_MENU(MyFrame::OnContextMenu) EVT_MENU(ID_RELOAD, MyFrame::OnReload) EVT_UPDATE_UI(ID_RELOAD, MyFrame::OnReloadUI) @@ -190,7 +190,7 @@ BEGIN_EVENT_TABLE(MyFrame, inherited) EVT_MENU(wxID_EXIT, MyFrame::OnExit) EVT_MENU(wxID_ABOUT, MyFrame::OnAbout) EVT_WINDOW_CREATE(MyFrame::OnWindowCreate) -END_EVENT_TABLE() +wxEND_EVENT_TABLE() // ショートカット用データ struct ctxmenu_t MyFrame::ctxmenu[] = { @@ -701,9 +701,9 @@ MyFrame::CreateImage() } // イベントテーブル -BEGIN_EVENT_TABLE(ViewCtrl, inherited) +wxBEGIN_EVENT_TABLE(ViewCtrl, inherited) EVT_PAINT(ViewCtrl::OnPaint) -END_EVENT_TABLE() +wxEND_EVENT_TABLE() // コンストラクタ ViewCtrl::ViewCtrl(wxWindow *parent)