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:
Robin Dunn 2004-05-10 20:50:28 +00:00
parent ae360bed6e
commit 0fab3a5a1a
3 changed files with 7 additions and 6 deletions

View File

@ -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
//---------------------------------------------------------------------------

View File

@ -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
// ----------------------------------------------------------------------------

View File

@ -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_