-1 is kept -1 as a wxWindowID
removed som edebug code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -152,7 +152,8 @@ bool wxWindowBase::CreateBase(wxWindowBase *parent,
|
||||
wxASSERT_MSG( m_isWindow, _T("Init() must have been called before!") );
|
||||
|
||||
// generate a new id if the user doesn't care about it
|
||||
m_windowId = id == -1 ? NewControlId() : id;
|
||||
// No, we keep the -1 from now on. RR.
|
||||
// m_windowId = id == -1 ? NewControlId() : id;
|
||||
|
||||
SetName(name);
|
||||
SetWindowStyleFlag(style);
|
||||
|
Reference in New Issue
Block a user