]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for disabling the control (bug 1150830)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 25 Feb 2005 11:07:39 +0000 (11:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 25 Feb 2005 11:07:39 +0000 (11:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/datectlg.cpp

index 05524a461f4c2cf05a62c9e4dcaf8a94c1148d09..35469e70eb79b94aeba468b63d8e3e171e892a2c 100644 (file)
@@ -473,6 +473,8 @@ bool wxDatePickerCtrlGeneric::Enable(bool enable)
     {
         if ( m_cal )
             m_cal->Hide();
+        if ( m_popup )
+            m_popup->Hide();
     }
 
     if ( m_btn )