]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listbkg.cpp
typo/spelling fixes (patch 983448)
[wxWidgets.git] / src / generic / listbkg.cpp
index 6993bff6761317aebeaf8ac12125cf6b99e4fdd3..c75120bd5951fe5eb2245567fadc5a4ee6183baf 100644 (file)
@@ -117,7 +117,7 @@ wxListbook::Create(wxWindow *parent,
     m_line = new wxStaticLine
                  (
                     this,
-                    -1,
+                    wxID_ANY,
                     wxDefaultPosition,
                     wxDefaultSize,
                     IsVertical() ? wxLI_HORIZONTAL : wxLI_VERTICAL
@@ -396,6 +396,7 @@ wxListbook::InsertPage(size_t n,
         page->Hide();
     }
 
+    InvalidateBestSize();
     return true;
 }