33 wxEvent*
Clone() const override;
45 bool mDragging {
false };
56 const wxPoint& pos = wxDefaultPosition,
57 const wxSize&
size = wxDefaultSize,
59 const wxString&
name = wxPanelNameStr);
61 void Create(wxWindow* parent,
63 const wxPoint& pos = wxDefaultPosition,
64 const wxSize&
size = wxDefaultSize,
66 const wxString&
name = wxPanelNameStr);
68 void ProcessDragEvent(wxWindow* target, wxEventType eventType);
70 int FindIndexInParent()
const;
74 void OnKeyDown(wxKeyEvent& evt);
76 void OnMouseCaptureLost(wxMouseCaptureLostEvent& event);
80 void OnMouseDown(wxMouseEvent& evt);
82 void OnMouseUp(wxMouseEvent& evt);
84 void OnMove(wxMouseEvent& evt);
wxDECLARE_EVENT(EVT_MOVABLE_CONTROL_DRAG_STARTED, MovableControlEvent)
void SetTargetIndex(int index) noexcept
int GetSourceIndex() const noexcept
wxEvent * Clone() const override
int GetTargetIndex() const noexcept
void SetSourceIndex(int index) noexcept
MovableControlEvent(wxEventType eventType, int winid=0)