]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/datectlg.cpp
added mouse wheel support (patch 1696082)
[wxWidgets.git] / src / generic / datectlg.cpp
index 7648284451e3f69aaed31bdde8430cd00d3be375..fbdbdb8bb6503a5257b0896dab42668275f6d665 100644 (file)
@@ -419,7 +419,7 @@ bool wxDatePickerCtrlGeneric::Create(wxWindow *parent,
 
     m_popup->SetDateValue(date.IsValid() ? date : wxDateTime::Today());
 
-    SetBestFittingSize(size);
+    SetInitialSize(size);
 
     return true;
 }