Use std::unordered_map<> in wxDFB
Replace a wx hash map with the standard class.
This commit is contained in:
parent
6ffe64a664
commit
de9038dae0
1 changed files with 3 additions and 4 deletions
|
|
@ -16,10 +16,11 @@
|
|||
#include "wx/app.h"
|
||||
#endif // WX_PRECOMP
|
||||
|
||||
#include "wx/hashmap.h"
|
||||
#include "wx/evtloop.h"
|
||||
#include "wx/dfb/private.h"
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
#define TRACE_EVENTS "events"
|
||||
#define TRACE_PAINT "paint"
|
||||
|
||||
|
|
@ -28,9 +29,7 @@
|
|||
// ============================================================================
|
||||
|
||||
// mapping of DirectFB windows to wxTLWs:
|
||||
WX_DECLARE_HASH_MAP(DFBWindowID, wxNonOwnedWindow*,
|
||||
wxIntegerHash, wxIntegerEqual,
|
||||
wxDfbWindowsMap);
|
||||
using wxDfbWindowsMap = std::unordered_map<DFBWindowID, wxNonOwnedWindow*>;
|
||||
static wxDfbWindowsMap gs_dfbWindowsMap;
|
||||
|
||||
// ============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue