X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cececf4db53f743669f2b86dae1c8851f5ae58fc..6d7b547184bfdcdf67790755deb0122050b1d728:/src/generic/fontdlgg.cpp diff --git a/src/generic/fontdlgg.cpp b/src/generic/fontdlgg.cpp index ee82641890..b0214dd348 100644 --- a/src/generic/fontdlgg.cpp +++ b/src/generic/fontdlgg.cpp @@ -30,16 +30,16 @@ #include "wx/choice.h" #include "wx/checkbox.h" #include "wx/intl.h" + #include "wx/settings.h" + #include "wx/cmndata.h" + #include "wx/sizer.h" #endif #include #include -#include "wx/cmndata.h" -#include "wx/sizer.h" #include "wx/fontdlg.h" #include "wx/generic/fontdlgg.h" -#include "wx/settings.h" #if USE_SPINCTRL_FOR_POINT_SIZE #include "wx/spinctrl.h" @@ -430,13 +430,11 @@ void wxGenericFontDialog::CreateWidgets() m_pointSizeChoice->SetSelection(m_dialogFont.GetPointSize()-1); #endif -#if !defined(__SMARTPHONE__) && !defined(__POCKETPC__) GetSizer()->SetItemMinSize(m_previewer, is_pda ? 100 : 430, is_pda ? 40 : 100); GetSizer()->SetSizeHints(this); GetSizer()->Fit(this); Centre(wxBOTH); -#endif delete[] families; delete[] styles;