Avoid duplicated definition errors for wxLongToLongHashMap when both
grid.h and fs_zip.h are included. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,9 +25,6 @@
|
|||||||
#include "wx/filesys.h"
|
#include "wx/filesys.h"
|
||||||
#include "wx/hashmap.h"
|
#include "wx/hashmap.h"
|
||||||
|
|
||||||
WX_DECLARE_HASH_MAP_WITH_DECL( long, long, wxIntegerHash, wxIntegerEqual,
|
|
||||||
wxLongToLongHashMap, class WXDLLIMPEXP_BASE );
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// wxZipFSHandler
|
// wxZipFSHandler
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
@@ -81,9 +81,6 @@ class WXDLLEXPORT wxComboBox;
|
|||||||
class WXDLLEXPORT wxTextCtrl;
|
class WXDLLEXPORT wxTextCtrl;
|
||||||
class WXDLLEXPORT wxSpinCtrl;
|
class WXDLLEXPORT wxSpinCtrl;
|
||||||
|
|
||||||
WX_DECLARE_HASH_MAP_WITH_DECL( long, long, wxIntegerHash, wxIntegerEqual,
|
|
||||||
wxLongToLongHashMap, class WXDLLIMPEXP_ADV );
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// macros
|
// macros
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -655,5 +655,12 @@ public: \
|
|||||||
(hashmap).clear(); \
|
(hashmap).clear(); \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//---------------------------------------------------------------------------
|
||||||
|
// Declarations of common hashmap classes
|
||||||
|
|
||||||
|
WX_DECLARE_HASH_MAP_WITH_DECL( long, long, wxIntegerHash, wxIntegerEqual,
|
||||||
|
wxLongToLongHashMap, class WXDLLIMPEXP_BASE );
|
||||||
|
|
||||||
|
|
||||||
#endif // _WX_HASHMAP_H_
|
#endif // _WX_HASHMAP_H_
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user