diff --git a/include/wx/event.h b/include/wx/event.h index fc5cf8f04f..6399b743d2 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -1126,6 +1126,7 @@ public: { m_eventType = wxEVT_MOVING; m_id = id; } wxPoint GetPosition() const { return m_pos; } + void SetPosition(const wxPoint& pos) { m_pos = pos; } wxRect GetRect() const { return m_rect; } void SetRect(wxRect rect) { m_rect = rect; }