]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filefn.h
Removed child frame CreateStatusBar from MDI sample; renamed config.h to confbase.h;
[wxWidgets.git] / include / wx / filefn.h
index 720beb4bf28f1cf48103cdfcd07cc6d477d69e76..eb3eb478f601ba927411d56b6b1feb2342ab711a 100644 (file)
@@ -9,13 +9,15 @@
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-#ifndef   __FILEFNH__
-#define   __FILEFNH__
+#ifndef   _FILEFN_H_
+#define   _FILEFN_H_
 
 #ifdef __GNUG__
 #pragma interface "filefn.h"
 #endif
 
+#include <wx/list.h>
+
 // ----------------------------------------------------------------------------
 // constants
 // ----------------------------------------------------------------------------
@@ -27,6 +29,8 @@
   #define   off_t       _off_t
 #endif
 
+const off_t wxInvalidOffset = (off_t)-1;
+
 typedef enum {
   wxFromStart,
   wxFromCurrent,
@@ -69,6 +73,7 @@ void WXDLLEXPORT wxUnix2DosFilename(char *s);
 
 // Strip the extension, in situ
 void WXDLLEXPORT wxStripExtension(char *buffer);
+void WXDLLEXPORT wxStripExtension(wxString& buffer);
 
 // Get a temporary filename, opening and closing the file.
 char* WXDLLEXPORT wxGetTempFileName(const wxString& prefix, char *buf = NULL);
@@ -199,5 +204,5 @@ class WXDLLEXPORT wxPathList: public wxStringList
 };
 
 #endif
-  // __FILEFNH__
+  // _WX_FILEFN_H_