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