// Purpose: Native OS X implementation of wxPreferencesEditor.
// Author: Vaclav Slavik
// Created: 2013-02-19
-// RCS-ID: $Id$
// Copyright: (c) 2013 Vaclav Slavik <vslavik@fastmail.fm>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#pragma hdrstop
#endif
+#if wxUSE_PREFERENCES_EDITOR
+
#include "wx/private/preferences.h"
#ifdef wxHAS_PREF_EDITOR_NATIVE
{
info->win = info->page->CreateWindow(this);
info->win->Hide();
+ info->win->Fit();
// fill the page with data using wxEVT_INIT_DIALOG/TransferDataToWindow:
info->win->InitDialog();
}
}
#endif // wxHAS_PREF_EDITOR_NATIVE
+
+#endif // wxUSE_PREFERENCES_EDITOR