]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/statline.h
gtk_window_[un]fullscreen only available with GTK >= 2.2
[wxWidgets.git] / include / wx / univ / statline.h
index 3965165d92be4b152d2b6d8388bb659d918164de..c6419bb5135ca25cf371c52572813cb79872ebac 100644 (file)
@@ -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);
     }