X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e00a5d3ca15eec8db3e231d79d82ff6965e3466b..7847232620296cd8d5c5cec8a5a50aa7627cfe31:/include/wx/textctrl.h diff --git a/include/wx/textctrl.h b/include/wx/textctrl.h index c43869e819..06c1ee23d6 100644 --- a/include/wx/textctrl.h +++ b/include/wx/textctrl.h @@ -53,7 +53,6 @@ class WXDLLEXPORT wxTextCtrlBase; // ---------------------------------------------------------------------------- WXDLLEXPORT_DATA(extern const wxChar*) wxTextCtrlNameStr; -WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; // ---------------------------------------------------------------------------- // wxTextCtrl style flags @@ -335,6 +334,9 @@ public: wxTextCtrl& operator<<(double d); wxTextCtrl& operator<<(const wxChar c); + // do the window-specific processing after processing the update event + virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) ; + // obsolete functions #if WXWIN_COMPATIBILITY bool Modified() const { return IsModified(); } @@ -347,6 +349,8 @@ protected: // the text style which will be used for any new text added to the control wxTextAttr m_defaultStyle; + + DECLARE_NO_COPY_CLASS(wxTextCtrlBase) }; // ---------------------------------------------------------------------------- @@ -413,7 +417,7 @@ protected: m_end; private: - DECLARE_DYNAMIC_CLASS(wxTextUrlEvent) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxTextUrlEvent) public: // for wxWin RTTI only, don't use