]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/stattext.cpp
renamed Number method (should be GetCount)
[wxWidgets.git] / src / os2 / stattext.cpp
index 0491f7b260bd92fc785f31b952e1701029f4588c..141ccf59a3e5a5dd75d07e1a9e18fb8c4bee2717 100644 (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;