1. wColour now accepts both grey and gray under MSW
2. implemented setting colours for rich edit controls git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -127,6 +127,11 @@ public:
|
||||
#if wxUSE_RICHEDIT
|
||||
bool IsRich() const { return m_isRich; }
|
||||
void SetRichEdit(bool isRich) { m_isRich = isRich; }
|
||||
|
||||
// rich edit controls are not compatible with normal ones and wem ust set
|
||||
// the colours for them otherwise
|
||||
virtual bool SetBackgroundColour(const wxColour& colour);
|
||||
virtual bool SetForegroundColour(const wxColour& colour);
|
||||
#endif // wxUSE_RICHEDIT
|
||||
|
||||
virtual void AdoptAttributesFromHWND();
|
||||
|
Reference in New Issue
Block a user