X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b99c1e36a5481f2c24bee87414c68269baae4c7..59953bf4ba167311fb0cd2c2c0f3d5d0475b98c8:/include/wx/msw/textctrl.h 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