From cc164686f3dc689732395f11210c5bb9a76b6ff2 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 25 Jul 2002 01:27:57 +0000 Subject: [PATCH] Added wxUSE_RICHEDIT to match usage in header git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/textctrl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 14801b5eac..a5a89ea845 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -1655,6 +1655,8 @@ bool wxTextCtrl::SetForegroundColour(const wxColour& colour) // styling support for rich edit controls // ---------------------------------------------------------------------------- +#if wxUSE_RICHEDIT + bool wxTextCtrl::SetStyle(long start, long end, const wxTextAttr& style) { if ( !IsRich() ) @@ -1801,6 +1803,8 @@ bool wxTextCtrl::SetDefaultStyle(const wxTextAttr& style) return TRUE; } +#endif + // ---------------------------------------------------------------------------- // wxRichEditModule // ---------------------------------------------------------------------------- -- 2.50.0