X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14a6b6e5f0200192944ed3d35ef4a3ce4549ac70..b88ccc4e8e2f933f2db3072757bbdce815578072:/src/msw/notebook.cpp diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp index 36e746e7c8..7e3bbcbd49 100644 --- a/src/msw/notebook.cpp +++ b/src/msw/notebook.cpp @@ -553,6 +553,7 @@ bool wxNotebook::DeleteAllPages() m_nSelection = -1; + InvalidateBestSize(); return true; } @@ -669,6 +670,7 @@ bool wxNotebook::InsertPage(size_t nPage, if ( selNew != -1 ) SetSelection(selNew); + InvalidateBestSize(); return true; }