Fix changing wxWindow ID in wxMSW.
This must be done both at wxWidgets and MSW level, otherwise changing the ID results in window not recognizing itself as the recipient of the messages sent to it by Windows. Closes #3697. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -236,7 +236,7 @@ public:
|
||||
|
||||
// window id uniquely identifies the window among its siblings unless
|
||||
// it is wxID_ANY which means "don't care"
|
||||
void SetId( wxWindowID winid ) { m_windowId = winid; }
|
||||
virtual void SetId( wxWindowID winid ) { m_windowId = winid; }
|
||||
wxWindowID GetId() const { return m_windowId; }
|
||||
|
||||
// generate a unique id (or count of them consecutively), returns a
|
||||
|
Reference in New Issue
Block a user