--- nono/wx/wxmonitor.h 2026/04/29 17:04:37 1.1.1.2 +++ nono/wx/wxmonitor.h 2026/04/29 17:04:45 1.1.1.5 @@ -17,25 +17,10 @@ class WXMonitorWindow : public WXSubWind using inherited = WXSubWindow; public: WXMonitorWindow(wxWindow *parent, wxWindowID id, const wxString& name, - Object *obj); - virtual ~WXMonitorWindow(); - - // フォントサイズ変更 - virtual void SetFontSize(fontsize_t fontsize); + IMonitor& monitor_); + virtual ~WXMonitorWindow() override; private: - // タイマーイベント - void OnTimer(wxTimerEvent& event); - - // モニター - Object *object = NULL; - // テキストスクリーン - WXTextScreen *screen = NULL; - - // タイマー - wxTimer timer; - - // イベントテーブル - wxDECLARE_EVENT_TABLE(); + WXTextScreen *screen {}; };