From fd587c7a5e2424a3a29012ac3efa6fff84dba035 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 21 Apr 2006 00:53:59 +0000 Subject: [PATCH] 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 --- include/wx/event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.50.0