]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/notebook.cpp
Applied [ 1059554 ] patch for [1028659] fixes a couple of bugs with menus
[wxWidgets.git] / src / univ / notebook.cpp
index f480c05b5699b233faf995d8ac59960efa6af754..2b9e19f9ffc4e9bb1f903782ed41a8eeaf0c988d 100644 (file)
@@ -1253,7 +1253,7 @@ void wxNotebook::ScrollLastTo(int page)
 wxSize wxNotebook::DoGetBestClientSize() const
 {
     // calculate the max page size
-    wxSize size(0, 0);
+    wxSize size;
 
     size_t count = GetPageCount();
     if ( count )