X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..c74d8df09d0c0e182cb2063cc4cc546de3a00fae:/utils/dialoged/src/dlghndlr.h diff --git a/utils/dialoged/src/dlghndlr.h b/utils/dialoged/src/dlghndlr.h index e54ba36097..9a14434b14 100644 --- a/utils/dialoged/src/dlghndlr.h +++ b/utils/dialoged/src/dlghndlr.h @@ -19,6 +19,7 @@ #define wxDRAG_MODE_CONTINUE_RIGHT 4 #define wxDRAG_TYPE_NONE 0 #define wxDRAG_TYPE_ITEM 100 +#define wxDRAG_TYPE_BOUNDING_BOX 200 #define wxKEY_SHIFT 1 #define wxKEY_CTRL 2 @@ -66,7 +67,12 @@ public: void AddChildHandlers(void); void PaintSelectionHandles(wxDC& dc); void ProcessItemEvent(wxControl *item, wxMouseEvent& event, int selectionHandle); - + + virtual void DrawBoundingBox(wxDC& dc, int x, int y, int w, int h); + virtual void OnDragBegin(int x, int y, int keys, wxDC& dc, int selectionHandle); + virtual void OnDragContinue(bool paintIt, int x, int y, int keys, wxDC& dc, int selectionHandle); + virtual void OnDragEnd(int x, int y, int keys, wxDC& dc, int selectionHandle); + // Accessors /* inline long GetTreeItem() const { return m_treeItem; }