diff --git a/clientgui/sg_DlgPreferences.cpp b/clientgui/sg_DlgPreferences.cpp index b8f9d1524c..4f247568ce 100644 --- a/clientgui/sg_DlgPreferences.cpp +++ b/clientgui/sg_DlgPreferences.cpp @@ -263,7 +263,7 @@ void CDlgPreferences::OnOK( wxCommandEvent& event ) { * CPanelPreferences type definition */ -IMPLEMENT_DYNAMIC_CLASS( CPanelPreferences, wxDialog ) +IMPLEMENT_DYNAMIC_CLASS( CPanelPreferences, wxPanel ) /*! * CPanelPreferences event table definition