X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f3154c809eebf42351427a4eaf7ea1e56864742..491b5be8305968871bc289453ed088a70c3de044:/src/os2/stattext.cpp?ds=sidebyside diff --git a/src/os2/stattext.cpp b/src/os2/stattext.cpp index 0491f7b260..141ccf59a3 100644 --- a/src/os2/stattext.cpp +++ b/src/os2/stattext.cpp @@ -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;