X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..2c304d0a33614d1806dc3fcd9e8054e5881f8c1c:/src/generic/listbkg.cpp diff --git a/src/generic/listbkg.cpp b/src/generic/listbkg.cpp index b26d18ebd9..c75120bd59 100644 --- a/src/generic/listbkg.cpp +++ b/src/generic/listbkg.cpp @@ -6,7 +6,7 @@ // Created: 19.08.03 // RCS-ID: $Id$ // Copyright: (c) 2003 Vadim Zeitlin -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -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; }