Use a hash set instead of vector to hold dedicated keys in wxPG.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "wx/dynarray.h"
|
||||
#include "wx/vector.h"
|
||||
#include "wx/hashmap.h"
|
||||
#include "wx/hashset.h"
|
||||
#include "wx/variant.h"
|
||||
#include "wx/any.h"
|
||||
#include "wx/longlong.h"
|
||||
@@ -315,6 +316,12 @@ WX_DECLARE_HASH_MAP_WITH_DECL(wxInt32,
|
||||
wxPGHashMapI2I,
|
||||
class WXDLLIMPEXP_PROPGRID);
|
||||
|
||||
WX_DECLARE_HASH_SET_WITH_DECL(int,
|
||||
wxIntegerHash,
|
||||
wxIntegerEqual,
|
||||
wxPGHashSetInt,
|
||||
class WXDLLIMPEXP_PROPGRID);
|
||||
|
||||
WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(wxObject*, wxArrayPGObject,
|
||||
wxBaseArrayPtrVoid,
|
||||
class WXDLLIMPEXP_PROPGRID);
|
||||
|
Reference in New Issue
Block a user