X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a570e8f8febd7213e789647478298293df4519db..7738af5957ace396793ee291a280d5a3dbd4821f:/src/univ/notebook.cpp?ds=inline diff --git a/src/univ/notebook.cpp b/src/univ/notebook.cpp index ebe2c8bb58..392f13c4aa 100644 --- a/src/univ/notebook.cpp +++ b/src/univ/notebook.cpp @@ -153,7 +153,7 @@ bool wxNotebook::Create(wxWindow *parent, m_sizePad = GetRenderer()->GetTabPadding(); - SetBestSize(size); + SetInitialSize(size); CreateInputHandler(wxINP_HANDLER_NOTEBOOK);