]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/file.h
Implement setFont on the iOS port of wxStaticText.
[wxWidgets.git] / interface / wx / file.h
index 198fcc18cbf4b16d2ed27eee36aa036df15b6a83..31ea6bdd4f9c26311a59d309b3aff0951c2096dc 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        file.h
 // Purpose:     interface of wxTempFile, wxFile
 // Author:      wxWidgets team
-// RCS-ID:      $Id$
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -296,8 +295,11 @@ public:
         Get back a file descriptor from wxFile object - the caller is responsible for
         closing the file if this descriptor is opened.
         IsOpened() will return @false after call to Detach().
+
+        @return The file descriptor (this is new since wxWidgets 3.0.0, in the
+        previous versions this method didn't return anything).
     */
-    void Detach();
+    int Detach();
 
     /**
         Returns @true if the end of the file has been reached.