From: Vadim Zeitlin Date: Mon, 2 Mar 2009 14:03:19 +0000 (+0000) Subject: make GetEditableWindow() protected as it's used by wxGTK wxTextEntry X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4ba5f250eaa04e8bd00fed171fee84ae3f1e9bd4 make GetEditableWindow() protected as it's used by wxGTK wxTextEntry git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/textentry.h b/include/wx/textentry.h index c0c116a433..19dd21a83f 100644 --- a/include/wx/textentry.h +++ b/include/wx/textentry.h @@ -154,6 +154,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 +190,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()