From 2eda91db2908af95455cc139c2a10861f8a89cf2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 25 Feb 2005 11:07:39 +0000 Subject: [PATCH] fix for disabling the control (bug 1150830) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/datectlg.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/generic/datectlg.cpp b/src/generic/datectlg.cpp index 05524a461f..35469e70eb 100644 --- a/src/generic/datectlg.cpp +++ b/src/generic/datectlg.cpp @@ -473,6 +473,8 @@ bool wxDatePickerCtrlGeneric::Enable(bool enable) { if ( m_cal ) m_cal->Hide(); + if ( m_popup ) + m_popup->Hide(); } if ( m_btn ) -- 2.45.2