]> git.saurik.com Git - wxWidgets.git/commitdiff
Added setter to wxMoveEvent
authorRobin Dunn <robin@alldunn.com>
Fri, 21 Jan 2005 20:25:38 +0000 (20:25 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 21 Jan 2005 20:25:38 +0000 (20:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/event.h

index fc5cf8f04f76c69e09f8292127d37f0e202a8af5..6399b743d2f198cb502bdc61a8b6b7ef9061edf9 100644 (file)
@@ -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; }