X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/135b23b266fffceb26b29d832c7d25db99038d0d..711f12ef2ea0c37d65b3170f78f4705ee85d0c40:/include/wx/textentry.h diff --git a/include/wx/textentry.h b/include/wx/textentry.h index c0c116a433..cdf6e522a4 100644 --- a/include/wx/textentry.h +++ b/include/wx/textentry.h @@ -17,6 +17,7 @@ typedef long wxTextPos; class WXDLLIMPEXP_FWD_BASE wxArrayString; class WXDLLIMPEXP_FWD_CORE wxTextEntryHintData; +class WXDLLIMPEXP_FWD_CORE wxWindow; // ---------------------------------------------------------------------------- // wxTextEntryBase @@ -154,6 +155,11 @@ protected: virtual void DoSetValue(const wxString& value, int flags); virtual wxString DoGetValue() const = 0; + // override this to return the associated window, it will be used for event + // generation and also by generic hints implementation + virtual wxWindow *GetEditableWindow() = 0; + + // class which should be used to temporarily disable text change events // // if suppress argument in ctor is false, nothing is done @@ -185,11 +191,6 @@ protected: bool EventsAllowed() const { return m_eventsBlock == 0; } private: - // override this to return the associated window, it will be used for event - // generation and also by generic hints implementation - virtual wxWindow *GetEditableWindow() = 0; - - // suppress or resume the text changed events generation: don't use these // functions directly, use EventsSuppressor class above instead void SuppressTextChangedEvents()