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:
Vadim Zeitlin 1998-12-04 19:32:16 +00:00
parent f6c6dd8cb4
commit b749747d9d
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;