--- nono/wx/wxmpumonitor.cpp 2026/04/29 17:05:12 1.1.1.6 +++ nono/wx/wxmpumonitor.cpp 2026/04/29 17:05:57 1.1.1.9 @@ -9,8 +9,6 @@ // #include "wxmpumonitor.h" -#include "fontmanager.h" -#include "m88200.h" // // CMMU キャッシュウィンドウ @@ -18,12 +16,11 @@ // コンストラクタ WXCacheWindow::WXCacheWindow(wxWindow *parent, const wxString& name, - Monitor& monitor_) + Monitor *monitor_) : inherited(parent, name, monitor_) { // モニタパネルに送られるマウスイベントをこちらで処理する - monpanel->Connect(wxEVT_LEFT_DOWN, - wxMouseEventHandler(WXCacheWindow::OnLeftDown), NULL, this); + monpanel->Bind(wxEVT_LEFT_DOWN, &WXCacheWindow::OnLeftDown, this); } // デストラクタ