]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/notebook.cpp
Warning fix for assignment of unused value.
[wxWidgets.git] / src / msw / notebook.cpp
index 36e746e7c82141cccebd7fcd3fe94130c20a9e1e..7e3bbcbd498ab9f82c0ad9c6ca198d48b1139d64 100644 (file)
@@ -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;
 }