X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4427c0a3ff15545c46f97a217a1dc947099d4a40..2cdb6fdb13211372fbb5cca180f011488cbac93e:/src/generic/datectlg.cpp diff --git a/src/generic/datectlg.cpp b/src/generic/datectlg.cpp index 7648284451..fbdbdb8bb6 100644 --- a/src/generic/datectlg.cpp +++ b/src/generic/datectlg.cpp @@ -419,7 +419,7 @@ bool wxDatePickerCtrlGeneric::Create(wxWindow *parent, m_popup->SetDateValue(date.IsValid() ? date : wxDateTime::Today()); - SetBestFittingSize(size); + SetInitialSize(size); return true; }