X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cb719f2e29bd20effa3259d2d7dead9fd857442c..0995b9dc18a7ce898c1c1be0e2790b258cab0fee:/include/wx/tipdlg.h?ds=sidebyside diff --git a/include/wx/tipdlg.h b/include/wx/tipdlg.h index a441e8e181..3c99c6d135 100644 --- a/include/wx/tipdlg.h +++ b/include/wx/tipdlg.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: tipdlg.h +// Name: wx/tipdlg.h // Purpose: declaration of wxTipDialog // Author: Vadim Zeitlin // Modified by: @@ -12,10 +12,6 @@ #ifndef _WX_TIPDLG_H_ #define _WX_TIPDLG_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "tipdlg.h" -#endif - // ---------------------------------------------------------------------------- // headers which we must include here // ---------------------------------------------------------------------------- @@ -65,8 +61,10 @@ protected: // specified text file as the source of tips (each line is a tip). // // NB: the caller is responsible for deleting the pointer! +#if wxUSE_TEXTFILE WXDLLIMPEXP_ADV wxTipProvider *wxCreateFileTipProvider(const wxString& filename, size_t currentTip); +#endif // wxUSE_TEXTFILE // ---------------------------------------------------------------------------- // wxTipDialog