X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c6eb3a84be918dcfed2496d014549e13af0f0e9..628051704648f309df50fff9b3d485780e7ad022:/include/wx/osx/carbon/textctrl.h diff --git a/include/wx/osx/carbon/textctrl.h b/include/wx/osx/carbon/textctrl.h index a2f5956328..df6967f9ab 100644 --- a/include/wx/osx/carbon/textctrl.h +++ b/include/wx/osx/carbon/textctrl.h @@ -26,8 +26,8 @@ #include "wx/control.h" #include "wx/textctrl.h" -class wxMacTextControl; - +// forward decl for wxListWidgetImpl implementation type. +class WXDLLIMPEXP_FWD_CORE wxTextWidgetImpl; class WXDLLIMPEXP_CORE wxTextCtrl: public wxTextCtrlBase { @@ -164,26 +164,19 @@ public: void OnContextMenu(wxContextMenuEvent& event); - virtual bool MacCanFocus() const - { return true; } - virtual bool MacSetupCursor( const wxPoint& pt ); virtual void MacVisibilityChanged(); virtual void MacSuperChangedPosition(); virtual void MacCheckSpelling(bool check); - wxMacTextControl * GetPeer() const - { return (wxMacTextControl*) m_peer; } - + wxTextWidgetImpl * GetTextPeer() const; protected: // common part of all ctors void Init(); virtual wxSize DoGetBestSize() const; - virtual void CreatePeer(const wxString& str, const wxPoint& pos, const wxSize& size, long style ); - virtual void DoSetValue(const wxString& value, int flags = 0); bool m_editable;