#if wxUSE_RICHTEXT
+#include "wx/richtext/richtextformatdlg.h"
+
#ifndef WX_PRECOMP
#include "wx/listbox.h"
#include "wx/combobox.h"
#include "wx/module.h"
#include "wx/imaglist.h"
-#include "wx/richtext/richtextformatdlg.h"
#include "wx/richtext/richtextctrl.h"
#include "wx/richtext/richtextstyles.h"
GetFormattingDialogFactory()->SetSheetStyle(this);
wxPropertySheetDialog::Create(parent, id, title, pos, sz,
- style | (int)wxPlatform::IfNot(wxWinCE, resizeBorder)
+ style | (int)wxPlatform::IfNot(wxOS_WINDOWS_CE, resizeBorder)
);
GetFormattingDialogFactory()->CreateButtons(this);