X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/561a367d40841defbb8119403122ad168aca6804..42d0df0030abbac4ca11a78b2f529133e3c9d986:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index f2227aecb5..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 // ---------------------------------------------------------------------------- @@ -920,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