X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f3154c809eebf42351427a4eaf7ea1e56864742..6433f6d3165a3f8633f42c59694a9104a7b37a93:/src/os2/stattext.cpp 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;