From 4ba5f250eaa04e8bd00fed171fee84ae3f1e9bd4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Mar 2009 14:03:19 +0000 Subject: [PATCH] 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 --- include/wx/textentry.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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() -- 2.45.2