From: Vadim Zeitlin Date: Fri, 21 Apr 2006 00:53:59 +0000 (+0000) Subject: made wxCommandEvent::GetInt() return int, not long (patch 1473771) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fd587c7a5e2424a3a29012ac3efa6fff84dba035?ds=inline made wxCommandEvent::GetInt() return int, not long (patch 1473771) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/event.h b/include/wx/event.h index 7087fa5002..909ffbc405 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -546,7 +546,7 @@ public: long GetExtraLong() const { return m_extraLong; } void SetInt(int i) { m_commandInt = i; } - long GetInt() const { return m_commandInt; } + int GetInt() const { return m_commandInt; } virtual wxEvent *Clone() const { return new wxCommandEvent(*this); }