fixed warnings about truncating 64 bit integers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
#include "wx/listctrl.h"
|
#include "wx/listctrl.h"
|
||||||
#include "wx/datetime.h"
|
#include "wx/datetime.h"
|
||||||
|
#include "wx/filefn.h"
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// classes
|
// classes
|
||||||
@@ -183,7 +184,7 @@ public:
|
|||||||
void SetNewName( const wxString &filePath, const wxString &fileName );
|
void SetNewName( const wxString &filePath, const wxString &fileName );
|
||||||
|
|
||||||
// Get the size of the file in bytes
|
// 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 <DIR>, <LINK>, <DRIVE>
|
// Get the type of file, either file extension or <DIR>, <LINK>, <DRIVE>
|
||||||
wxString GetFileType() const;
|
wxString GetFileType() const;
|
||||||
// get the last modification time
|
// get the last modification time
|
||||||
@@ -231,12 +232,12 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
wxString m_fileName;
|
wxString m_fileName;
|
||||||
wxString m_filePath;
|
wxString m_filePath;
|
||||||
long m_size;
|
wxFileOffset m_size;
|
||||||
wxDateTime m_dateTime;
|
wxDateTime m_dateTime;
|
||||||
wxString m_permissions;
|
wxString m_permissions;
|
||||||
int m_type;
|
int m_type;
|
||||||
int m_image;
|
int m_image;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void Init();
|
void Init();
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user