]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/fontdlgg.cpp
allow building wxXRC with wxUSE_HTML=0: make linking work in absence of wxHTML library
[wxWidgets.git] / src / generic / fontdlgg.cpp
index ee8264189043dbec585de7f3b421b3ec263a5b0d..b0214dd3483ff3276dc8c5150bbe48ad1b376e7a 100644 (file)
     #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 <string.h>
 #include <stdlib.h>
 
-#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;