X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6519b40fe9f5e4706e02497fe01ff71c65079d6..9fcd0bf7f313e637e8cd4b5d7f3cd5b294fec033:/include/wx/mac/carbon/textctrl.h diff --git a/include/wx/mac/carbon/textctrl.h b/include/wx/mac/carbon/textctrl.h index f77e41423a..0c0bb75464 100644 --- a/include/wx/mac/carbon/textctrl.h +++ b/include/wx/mac/carbon/textctrl.h @@ -61,9 +61,6 @@ public: // accessors // --------- virtual wxString GetValue() const; - virtual void SetValue(const wxString& value); - - virtual void ChangeValue(const wxString &value); virtual int GetLineLength(long lineNo) const; virtual wxString GetLineText(long lineNo) const; @@ -173,6 +170,7 @@ public: virtual void MacVisibilityChanged(); virtual void MacEnabledStateChanged(); virtual void MacSuperChangedPosition(); + virtual void MacCheckSpelling(bool check); #ifndef __WXMAC_OSX__ virtual void MacControlUserPaneDrawProc(wxInt16 part); @@ -187,13 +185,17 @@ public: wxMacTextControl * GetPeer() const { return (wxMacTextControl*) m_peer; } - + 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; // flag is set to true when the user edits the controls contents @@ -201,17 +203,17 @@ protected: // need to make this public because of the current implementation via callbacks unsigned long m_maxLength; - - bool GetTriggerOnSetValue() const - { - return m_triggerOnSetValue; + + bool GetTriggerOnSetValue() const + { + return m_triggerOnSetValue; } - - void SetTriggerOnSetValue(bool trigger) - { - m_triggerOnSetValue = trigger; + + void SetTriggerOnSetValue(bool trigger) + { + m_triggerOnSetValue = trigger; } - + bool m_triggerOnSetValue ; private :