Added wxUSE_RICHEDIT to match usage in header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1655,6 +1655,8 @@ bool wxTextCtrl::SetForegroundColour(const wxColour& colour)
|
|||||||
// styling support for rich edit controls
|
// styling support for rich edit controls
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#if wxUSE_RICHEDIT
|
||||||
|
|
||||||
bool wxTextCtrl::SetStyle(long start, long end, const wxTextAttr& style)
|
bool wxTextCtrl::SetStyle(long start, long end, const wxTextAttr& style)
|
||||||
{
|
{
|
||||||
if ( !IsRich() )
|
if ( !IsRich() )
|
||||||
@@ -1801,6 +1803,8 @@ bool wxTextCtrl::SetDefaultStyle(const wxTextAttr& style)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxRichEditModule
|
// wxRichEditModule
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user