#pragma hdrstop
#endif
+#if wxUSE_PREFERENCES_EDITOR
+
#include "wx/private/preferences.h"
#ifndef wxHAS_PREF_EDITOR_NATIVE
dlg->AddPage(i->get());
}
+ dlg->Fit();
+
return dlg;
}
m_dlg = dlg.get();
wxON_BLOCK_EXIT_NULL(m_dlg);
- dlg->Fit();
-
// Restore the previously selected page, if any.
if ( m_currentPage != -1 )
dlg->SelectPage(m_currentPage);
}
#endif // !wxHAS_PREF_EDITOR_NATIVE
+
+#endif // wxUSE_PREFERENCES_EDITOR