summary refs log tree commit diff stats
path: root/tools/mapedit/src/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mapedit/src/widget.h')
-rw-r--r--tools/mapedit/src/widget.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/mapedit/src/widget.h b/tools/mapedit/src/widget.h index 864e299..937b699 100644 --- a/tools/mapedit/src/widget.h +++ b/tools/mapedit/src/widget.h
@@ -16,7 +16,7 @@ class MapeditFrame;
16class TileWidget; 16class TileWidget;
17class Map; 17class Map;
18class MapObject; 18class MapObject;
19struct MapObjectEntry; 19class MapObjectEntry;
20 20
21#include "consts.h" 21#include "consts.h"
22 22
@@ -76,5 +76,10 @@ class MapeditWidget : public wxScrolledCanvas {
76 DECLARE_DYNAMIC_CLASS(MapeditWidget) 76 DECLARE_DYNAMIC_CLASS(MapeditWidget)
77 DECLARE_EVENT_TABLE() 77 DECLARE_EVENT_TABLE()
78}; 78};
79
80// sends when an entity is selected OR deselected.
81// client data will be a pointer to the MapObjectEntry if selection.
82// client data will be nullptr if deselection.
83wxDECLARE_EVENT(EVT_MAP_SELECTED_ENTITY, wxCommandEvent);
79 84
80#endif 85#endif