From: Julian Smart Date: Sat, 21 Oct 2006 07:10:48 +0000 (+0000) Subject: Added wxUSE_RICHTEXT guard X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5c6e84b696abcfce168a373b253719d5ab542a8b?ds=inline Added wxUSE_RICHTEXT guard git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/richtext/richtextstyledlg.cpp b/src/richtext/richtextstyledlg.cpp index 0f6d2ebcc2..8ffb037227 100644 --- a/src/richtext/richtextstyledlg.cpp +++ b/src/richtext/richtextstyledlg.cpp @@ -16,19 +16,15 @@ #pragma hdrstop #endif +#if wxUSE_RICHTEXT + #ifndef WX_PRECOMP #include "wx/wx.h" #endif -////@begin includes -////@end includes - #include "wx/richtext/richtextstyledlg.h" #include "wx/richtext/richtextformatdlg.h" -////@begin XPM images -////@end XPM images - /*! * wxRichTextStyleOrganiserDialog type definition */ @@ -855,3 +851,7 @@ void wxRichTextStyleOrganiserDialog::OnListSelection(wxCommandEvent& event) else event.Skip(); } + +#endif + // wxUSE_RICHTEXT +