X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bcb07ff03e6c308e7a1c30479017d77dad9c4cb3..94a007ece4bcd6231d31bcb91516463b7f981a0e:/include/wx/osx/carbon/textctrl.h?ds=sidebyside diff --git a/include/wx/osx/carbon/textctrl.h b/include/wx/osx/carbon/textctrl.h index a2a3eb5e7d..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 { @@ -170,17 +170,13 @@ public: 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;