}
protected:
- virtual wxDialog *CreateWindow(wxWindow *parent)
+ wxGenericPrefsDialog *CreateDialog(wxWindow *parent)
{
wxGenericPrefsDialog *dlg = new wxGenericPrefsDialog(parent);
{
if ( !m_win )
{
- wxWindow *win = CreateWindow(parent);
+ wxWindow *win = CreateDialog(parent);
win->Show();
m_win = win;
}
public:
virtual void Show(wxWindow* parent)
{
- wxScopedPtr<wxDialog> dlg(CreateWindow(parent));
+ wxScopedPtr<wxGenericPrefsDialog> dlg(CreateDialog(parent));
dlg->Fit();
dlg->ShowModal();
}