IsRich should be defined even if wxUSE_RICHTEXT isn't
authorJulian Smart <julian@anthemion.co.uk>
Tue, 9 Jan 2007 21:26:53 +0000 (21:26 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 9 Jan 2007 21:26:53 +0000 (21:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/textctrl.h

index 8cfbb0306eb990845a933289ba8ecb6756282d53..8b3c71f4859732767575a6f5a3f9a30b53bbd9ea 100644 (file)
@@ -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