]> git.saurik.com Git - wxWidgets.git/commitdiff
Call OnParentEnable from wxTextCtrl::Enable
authorJulian Smart <julian@anthemion.co.uk>
Thu, 17 May 2001 11:09:22 +0000 (11:09 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 17 May 2001 11:09:22 +0000 (11:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/textctrl.cpp
src/gtk1/textctrl.cpp

index fb8a8e6fce816ff3fd75523c7359b0ff0214ccc7..2ed849a9955165105b75675240ec595f3eb19226 100644 (file)
@@ -756,7 +756,7 @@ bool wxTextCtrl::Enable( bool enable )
     if (m_windowStyle & wxTE_MULTILINE)
     {
         gtk_text_set_editable( GTK_TEXT(m_text), enable );
-
+        OnParentEnable(enable);
     }
     else
     {
index fb8a8e6fce816ff3fd75523c7359b0ff0214ccc7..2ed849a9955165105b75675240ec595f3eb19226 100644 (file)
@@ -756,7 +756,7 @@ bool wxTextCtrl::Enable( bool enable )
     if (m_windowStyle & wxTE_MULTILINE)
     {
         gtk_text_set_editable( GTK_TEXT(m_text), enable );
-
+        OnParentEnable(enable);
     }
     else
     {