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:
parent
ae360bed6e
commit
0fab3a5a1a
@ -25,9 +25,6 @@
|
||||
#include "wx/filesys.h"
|
||||
#include "wx/hashmap.h"
|
||||
|
||||
WX_DECLARE_HASH_MAP_WITH_DECL( long, long, wxIntegerHash, wxIntegerEqual,
|
||||
wxLongToLongHashMap, class WXDLLIMPEXP_BASE );
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// wxZipFSHandler
|
||||
//---------------------------------------------------------------------------
|
||||
|
@ -81,9 +81,6 @@ class WXDLLEXPORT wxComboBox;
|
||||
class WXDLLEXPORT wxTextCtrl;
|
||||
class WXDLLEXPORT wxSpinCtrl;
|
||||
|
||||
WX_DECLARE_HASH_MAP_WITH_DECL( long, long, wxIntegerHash, wxIntegerEqual,
|
||||
wxLongToLongHashMap, class WXDLLIMPEXP_ADV );
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// macros
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -655,5 +655,12 @@ public: \
|
||||
(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_
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user