From: Vadim Zeitlin Date: Mon, 28 Feb 2005 13:08:47 +0000 (+0000) Subject: don't hide m_cal when disabling the control (bug 1150830) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/98b5a1e9204c2c065484654b91da18dfb2720bee don't hide m_cal when disabling the control (bug 1150830) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/datectlg.cpp b/src/generic/datectlg.cpp index 35469e70eb..c035731aab 100644 --- a/src/generic/datectlg.cpp +++ b/src/generic/datectlg.cpp @@ -471,8 +471,6 @@ bool wxDatePickerCtrlGeneric::Enable(bool enable) if ( !enable ) { - if ( m_cal ) - m_cal->Hide(); if ( m_popup ) m_popup->Hide(); }