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:
parent
c667b518d1
commit
005eba5abd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user