]> git.saurik.com Git - wxWidgets.git/commitdiff
don't hide m_cal when disabling the control (bug 1150830)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 28 Feb 2005 13:08:47 +0000 (13:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 28 Feb 2005 13:08:47 +0000 (13:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/datectlg.cpp

index 35469e70eb79b94aeba468b63d8e3e171e892a2c..c035731aab81f388ebf889c45876e153bfb6e7ab 100644 (file)
@@ -471,8 +471,6 @@ bool wxDatePickerCtrlGeneric::Enable(bool enable)
 
     if ( !enable )
     {
-        if ( m_cal )
-            m_cal->Hide();
         if ( m_popup )
             m_popup->Hide();
     }