Start on Get/SetStyle support for OS X Cocoa wxTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -373,6 +373,11 @@ wxSize wxTextCtrl::DoGetBestSize() const
|
||||
return wxSize(wText, hText);
|
||||
}
|
||||
|
||||
bool wxTextCtrl::GetStyle(long position, wxTextAttr& style)
|
||||
{
|
||||
return GetTextPeer()->GetStyle(position, style);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Undo/redo
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -724,6 +729,12 @@ bool wxTextCtrl::MacSetupCursor( const wxPoint& pt )
|
||||
// implementation base class
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
bool wxTextWidgetImpl::GetStyle(long WXUNUSED(position),
|
||||
wxTextAttr& WXUNUSED(style))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void wxTextWidgetImpl::SetStyle(long WXUNUSED(start),
|
||||
long WXUNUSED(end),
|
||||
const wxTextAttr& WXUNUSED(style))
|
||||
|
Reference in New Issue
Block a user