From 715ce94da9634504ecaaa3aaf54091743b1b058c Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 9 Jan 2007 21:26:53 +0000 Subject: [PATCH] IsRich should be defined even if wxUSE_RICHTEXT isn't git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/textctrl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/msw/textctrl.h b/include/wx/msw/textctrl.h index 8cfbb0306e..8b3c71f485 100644 --- a/include/wx/msw/textctrl.h +++ b/include/wx/msw/textctrl.h @@ -156,6 +156,8 @@ public: // the colours for them otherwise virtual bool SetBackgroundColour(const wxColour& colour); virtual bool SetForegroundColour(const wxColour& colour); +#else + bool IsRich() const { return false; } #endif // wxUSE_RICHEDIT #if wxUSE_INKEDIT && wxUSE_RICHEDIT -- 2.50.0