projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a special macro for comparing time_t values to fix unit test compilation on platf...
[wxWidgets.git]
/
include
/
wx
/
volume.h
diff --git
a/include/wx/volume.h
b/include/wx/volume.h
index e0dcb78f9bace1f72fce3613c72dc9ee2330a304..7ecdb38e30f87b9357c183e9d9ddcf0c7ddcad07 100644
(file)
--- a/
include/wx/volume.h
+++ b/
include/wx/volume.h
@@
-16,14
+16,12
@@
#ifndef _WX_FSVOLUME_H_
#define _WX_FSVOLUME_H_
#ifndef _WX_FSVOLUME_H_
#define _WX_FSVOLUME_H_
-#if defined(__GNUG__) && !defined(__APPLE__)
- #pragma interface "fsvolume.h"
-#endif
-
#include "wx/defs.h"
#if wxUSE_FSVOLUME
#include "wx/defs.h"
#if wxUSE_FSVOLUME
+#include "wx/arrstr.h"
+
// the volume flags
enum
{
// the volume flags
enum
{
@@
-121,7
+119,7
@@
enum wxFSIconType
};
// wxFSVolume adds GetIcon() to wxFSVolumeBase
};
// wxFSVolume adds GetIcon() to wxFSVolumeBase
-class wxFSVolume : public wxFSVolumeBase
+class
WXDLLIMPEXP_CORE
wxFSVolume : public wxFSVolumeBase
{
public:
wxFSVolume() : wxFSVolumeBase() { InitIcons(); }
{
public:
wxFSVolume() : wxFSVolumeBase() { InitIcons(); }
@@
-139,16
+137,10
@@
private:
#else // !wxUSE_GUI
// wxFSVolume is the same thing as wxFSVolume in wxBase
#else // !wxUSE_GUI
// wxFSVolume is the same thing as wxFSVolume in wxBase
-class wxFSVolume : public wxFSVolumeBase
-{
-public:
- wxFSVolume() : wxFSVolumeBase() { }
- wxFSVolume(const wxString& name) : wxFSVolumeBase(name) { }
-};
+typedef wxFSVolumeBase wxFSVolume;
#endif // wxUSE_GUI/!wxUSE_GUI
#endif // wxUSE_FSVOLUME
#endif // _WX_FSVOLUME_H_
#endif // wxUSE_GUI/!wxUSE_GUI
#endif // wxUSE_FSVOLUME
#endif // _WX_FSVOLUME_H_
-