]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listbkg.cpp
allow a - at the beginning of a menu item (would become a separator by default)
[wxWidgets.git] / src / generic / listbkg.cpp
index b82b9dde2f1d7827d9568465ec47533ef236a5d2..f0d53056976b41066f4b9a08bc1860336f91c414 100644 (file)
@@ -45,7 +45,7 @@
 const wxCoord MARGIN = 5;
 
 // ----------------------------------------------------------------------------
-// various wxWindows macros
+// various wxWidgets macros
 // ----------------------------------------------------------------------------
 
 IMPLEMENT_DYNAMIC_CLASS(wxListbook, wxControl)
@@ -117,7 +117,7 @@ wxListbook::Create(wxWindow *parent,
     m_line = new wxStaticLine
                  (
                     this,
-                    -1,
+                    wxID_ANY,
                     wxDefaultPosition,
                     wxDefaultSize,
                     IsVertical() ? wxLI_HORIZONTAL : wxLI_VERTICAL