X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da78f3b10cfe9447053f32ea4baddf50058eafef..c493691d6249650c0366fd9aaaca8572e3ff3edd:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index b9a8332d5c..cb66b14bc8 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -73,8 +73,6 @@ class WXDLLEXPORT wxWindow; class WXDLLEXPORT wxAccessible; #endif -class WXDLLEXPORT wxWindowExtraData; - // ---------------------------------------------------------------------------- // helper stuff used by wxWindow // ---------------------------------------------------------------------------- @@ -922,6 +920,10 @@ public: void SetHelpTextForId(const wxString& text); // get the help string associated with this window (may be empty) wxString GetHelpText() const; +#else + // silently ignore SetHelpText() calls + void SetHelpText(const wxString& WXUNUSED(text)) { } + void SetHelpTextForId(const wxString& WXUNUSED(text)) { } #endif // wxUSE_HELP // tooltips @@ -1314,9 +1316,8 @@ protected: // implements the window variants virtual void DoSetWindowVariant( wxWindowVariant variant ) ; - // Was a reserved pointer in 2.6.0, now used to hold extra data members - // without breaking compatibility. - wxWindowExtraData* m_extraData; + // Reserved for future use + void* m_windowReserved; private: // contains the last id generated by NewControlId