--- nono/wx/wxlogsetting.cpp 2026/04/29 17:05:48 1.1.1.5 +++ nono/wx/wxlogsetting.cpp 2026/04/29 17:05:58 1.1.1.6 @@ -10,7 +10,6 @@ #include "wxlogsetting.h" #include "wxbutton.h" -#include "wxcolor.h" #include "wxtextscreen.h" #include "mainapp.h" #include @@ -68,8 +67,7 @@ WXLogSettingPanel::WXLogSettingPanel(wxW buttons.push_back(btn); // イベントを接続 - btn->Connect(NONO_EVT_BUTTON, - wxCommandEventHandler(WXLogSettingPanel::OnButton), NULL, this); + btn->Bind(NONO_EVT_BUTTON, &WXLogSettingPanel::OnButton, this); } // Sizer 使わず自前でレイアウトする。