]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/statline.h
SetFocus fixed
[wxWidgets.git] / include / wx / univ / statline.h
index 86958ca425767fdfe4c309f5dd1619633c14e2fe..c6419bb5135ca25cf371c52572813cb79872ebac 100644 (file)
@@ -5,7 +5,7 @@
 // Created:     28.06.99
 // Version:     $Id$
 // Copyright:   (c) 1999 Vadim Zeitlin
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
@@ -26,9 +26,9 @@ public:
                  wxCoord length,
                  long style = wxLI_HORIZONTAL)
     {
-        Create(parent, -1, pos,
-               style & wxLI_VERTICAL ? wxSize(-1, length)
-                                     : wxSize(length, -1),
+        Create(parent, wxID_ANY, pos,
+               style & wxLI_VERTICAL ? wxSize(wxDefaultCoord, length)
+                                     : wxSize(length, wxDefaultCoord),
                style);
     }