X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63bcc669d81774a91f39054e8ec44f8d7ac6f760..0738b901b17340f09766524b8d9d79e9ed1268e7:/src/osx/textctrl_osx.cpp?ds=inline diff --git a/src/osx/textctrl_osx.cpp b/src/osx/textctrl_osx.cpp index 1ff3094dbc..6edd282e97 100644 --- a/src/osx/textctrl_osx.cpp +++ b/src/osx/textctrl_osx.cpp @@ -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))