X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7421ab62574f7de584b2edf1270753277353371..9ca2afd1db318c02c7d1b94a501af39c91e55fcf:/include/wx/msw/textctrl.h diff --git a/include/wx/msw/textctrl.h b/include/wx/msw/textctrl.h index 5354104c74..ee8d91971f 100644 --- a/include/wx/msw/textctrl.h +++ b/include/wx/msw/textctrl.h @@ -125,10 +125,11 @@ public: int GetRichVersion() const { return m_verRichEdit; } bool IsRich() const { return m_verRichEdit != 0; } - // rich edit controls are not compatible with normal ones and wem ust set - // the colours for them otherwise + // rich edit controls are not compatible with normal ones and we must set + // the colours and font for them otherwise virtual bool SetBackgroundColour(const wxColour& colour); virtual bool SetForegroundColour(const wxColour& colour); + virtual bool SetFont(const wxFont& font); #else bool IsRich() const { return false; } #endif // wxUSE_RICHEDIT