X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f3154c809eebf42351427a4eaf7ea1e56864742..72c71d39724af116d419295b684dd2946efb3da3:/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;