X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e3515377ca94ccc018f7a5ba8f185914081e601..3b8b8024a01220cc4c72b69ac16c6e606f260b74:/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; }