]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed crash if the control is moved while the popup is open (patch 1539194)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Aug 2006 01:24:30 +0000 (01:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Aug 2006 01:24:30 +0000 (01:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/datectlg.cpp

index 1b2940997fb71f23d9db83f9a7454d6361ea1cd5..ab5d7448d7331e3d894eaf1dc6dfe9074460f01a 100644 (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