X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e3515377ca94ccc018f7a5ba8f185914081e601..916989dfb95b7e4a72234d946b8e078235046e05:/include/wx/utils.h diff --git a/include/wx/utils.h b/include/wx/utils.h index 2fd8ed4284..0458210efd 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -224,6 +224,7 @@ public: wxCoord GetX() const { return m_x; } wxCoord GetY() const { return m_y; } + wxPoint GetPosition() const { return wxPoint(m_x, m_y); } bool LeftDown() const { return m_leftDown; } bool MiddleDown() const { return m_middleDown; }