new Def file supporting const changes in wxObject. Bug fixes in STATTEXT and WINDOW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2001-04-20 16:10:04 +00:00
parent 8cfc5426cf
commit f15b49521a
3 changed files with 8 additions and 12 deletions

View File

@@ -45,7 +45,7 @@ bool wxStaticText::Create(
SetBackgroundColour(pParent->GetBackgroundColour()) ;
SetForegroundColour(pParent->GetForegroundColour()) ;
if ( id == -1 )
if ( vId == -1 )
m_windowId = (int)NewControlId();
else
m_windowId = vId;