]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tipdlg.h
Compilation fix after r62754.
[wxWidgets.git] / include / wx / tipdlg.h
index a441e8e181f624aa8b52cbe3cb04a492c598a20e..5f5ecc6c305775959264ff95c055333ec3f3dd4f 100644 (file)
 #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