X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da78f3b10cfe9447053f32ea4baddf50058eafef..2c01d33555e3125057f4575ca7d0d2aba93f421f:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index b9a8332d5c..0e22dfefad 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -12,10 +12,6 @@ #ifndef _WX_WINDOW_H_BASE_ #define _WX_WINDOW_H_BASE_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "windowbase.h" -#endif - // ---------------------------------------------------------------------------- // headers which we must include here // ---------------------------------------------------------------------------- @@ -73,8 +69,6 @@ class WXDLLEXPORT wxWindow; class WXDLLEXPORT wxAccessible; #endif -class WXDLLEXPORT wxWindowExtraData; - // ---------------------------------------------------------------------------- // helper stuff used by wxWindow // ---------------------------------------------------------------------------- @@ -922,6 +916,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 +1312,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