X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..164a797204e4738fceac9ad0d3ef2b0ffffae8cb:/include/wx/generic/filedlgg.h diff --git a/include/wx/generic/filedlgg.h b/include/wx/generic/filedlgg.h index 7f9d976e9e..ac2de5b9f5 100644 --- a/include/wx/generic/filedlgg.h +++ b/include/wx/generic/filedlgg.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: filedlgg.h +// Name: wx/generic/filedlgg.h // Purpose: wxGenericFileDialog // Author: Robert Roebling // Modified by: @@ -14,6 +14,8 @@ #include "wx/listctrl.h" #include "wx/datetime.h" +#include "wx/filefn.h" +#include "wx/filedlg.h" //----------------------------------------------------------------------------- // classes @@ -183,7 +185,7 @@ public: void SetNewName( const wxString &filePath, const wxString &fileName ); // Get the size of the file in bytes - long GetSize() const { return m_size; } + wxFileOffset GetSize() const { return m_size; } // Get the type of file, either file extension or , , wxString GetFileType() const; // get the last modification time @@ -231,12 +233,12 @@ public: protected: wxString m_fileName; wxString m_filePath; - long m_size; + wxFileOffset m_size; wxDateTime m_dateTime; wxString m_permissions; int m_type; - int m_image; - + int m_image; + private: void Init(); }; @@ -303,4 +305,3 @@ private: }; #endif // _WX_FILEDLGG_H_ -