From: Julian Smart Date: Tue, 9 Jan 2007 21:26:53 +0000 (+0000) Subject: IsRich should be defined even if wxUSE_RICHTEXT isn't X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/715ce94da9634504ecaaa3aaf54091743b1b058c 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 --- 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