wxListBox mouse events now report coords relative
to the whole list box.
wxRadioButton doesn't emit any event when unpressed.
Similar correction to wxRadioBox and wxToggleButton.
Upported change to wxMenuEvent so that the id is
set in the constructor. Otherwise the EVT_MENU
macro is pretty useless. Already in 2.2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1027,7 +1027,7 @@ class WXDLLEXPORT wxMenuEvent : public wxEvent
|
||||
|
||||
public:
|
||||
wxMenuEvent(wxEventType type = wxEVT_NULL, int id = 0)
|
||||
{ m_eventType = type; m_menuId = id; }
|
||||
{ m_eventType = type; m_menuId = id; m_id = id; }
|
||||
|
||||
int GetMenuId() const { return m_menuId; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user