]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/notebook.cpp
added WXWIN_COMPATIBILITY_2_8
[wxWidgets.git] / src / univ / notebook.cpp
index ebe2c8bb583db6278a2b54759df17e616df62727..392f13c4aa5a6c9c6684b0e4279f0762b7963a44 100644 (file)
@@ -153,7 +153,7 @@ bool wxNotebook::Create(wxWindow *parent,
 
     m_sizePad = GetRenderer()->GetTabPadding();
 
-    SetBestSize(size);
+    SetInitialSize(size);
 
     CreateInputHandler(wxINP_HANDLER_NOTEBOOK);