fixed crash if the control is moved while the popup is open (patch 1539194)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-08-13 01:24:30 +00:00
parent c667b518d1
commit 005eba5abd

View File

@ -569,7 +569,7 @@ void wxDatePickerCtrlGeneric::DoMoveWindow(int x, int y, int w, int h)
wxControl::DoMoveWindow(x, y, w, h);
if (m_dropped)
DropDown(true);
DropDown(false);
}
wxSize wxDatePickerCtrlGeneric::DoGetBestSize() const