id are generated as in wxMSW if the default value (-1) is given to
wxWindow::Create() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f6c6dd8cb4
commit
b749747d9d
@ -1197,7 +1197,7 @@ void wxWindow::PreCreation( wxWindow *parent, wxWindowID id,
|
||||
|
||||
m_eventHandler = this;
|
||||
|
||||
m_windowId = id;
|
||||
m_windowId = id == -1 ? wxNewId() : id;
|
||||
|
||||
m_sizeSet = FALSE;
|
||||
|
||||
|
@ -1197,7 +1197,7 @@ void wxWindow::PreCreation( wxWindow *parent, wxWindowID id,
|
||||
|
||||
m_eventHandler = this;
|
||||
|
||||
m_windowId = id;
|
||||
m_windowId = id == -1 ? wxNewId() : id;
|
||||
|
||||
m_sizeSet = FALSE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user