--- nono/wx/wxsubwindow.h 2026/04/29 17:04:53 1.1.1.6 +++ nono/wx/wxsubwindow.h 2026/04/29 17:04:56 1.1.1.7 @@ -6,8 +6,7 @@ #pragma once -#include "wxheader.h" -#include "wxfitframe.h" +#include "wxnono.h" class WXPaddingPanel; @@ -17,9 +16,9 @@ class WXPaddingPanel; // メインウィンドウのメニューから表示されて、表示されてる間チェック状態を // 維持するタイプのウィンドウ。クローズ処理が共通に必要なだけで、中身に // ついては関与していない。 -class WXSubWindow : public WXFitFrame +class WXSubWindow : public wxFrame { - using inherited = WXFitFrame; + using inherited = wxFrame; public: static const int DEFAULT_STYLE = (wxDEFAULT_FRAME_STYLE | wxFRAME_FLOAT_ON_PARENT) @@ -29,7 +28,8 @@ class WXSubWindow : public WXFitFrame public: WXSubWindow(wxWindow *parent, wxWindowID id, const wxString& name, int style); - WXSubWindow(wxWindow *parent, wxWindowID id, const wxString& name); + WXSubWindow(wxWindow *parent, wxWindowID id, const wxString& name) + : WXSubWindow(parent, id, name, DEFAULT_STYLE) { } virtual ~WXSubWindow() override; // テキスト系パネルのフォントサイズ変更