-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:
Robert Roebling
1999-05-12 15:19:35 +00:00
parent dc4769eb08
commit 053dcf1a77
5 changed files with 8 additions and 9 deletions

View File

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