--- nono/util/viewcgrom/viewcgrom.cpp 2026/04/29 17:05:27 1.1.1.4 +++ nono/util/viewcgrom/viewcgrom.cpp 2026/04/29 17:05:31 1.1.1.5 @@ -49,7 +49,7 @@ class ViewCtrl : public wxWindow unsigned char *imagebuf; private: void OnPaint(wxPaintEvent& event); - DECLARE_EVENT_TABLE(); + wxDECLARE_EVENT_TABLE(); }; class MyFrame : public wxFrame @@ -101,7 +101,7 @@ class MyFrame : public wxFrame static ctxmenu_t ctxmenu[]; - DECLARE_EVENT_TABLE(); + wxDECLARE_EVENT_TABLE(); }; class MyApp : public wxApp