]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed enabling/disabling for wxSpinCtrl
authorJulian Smart <julian@anthemion.co.uk>
Sun, 26 Feb 2012 15:44:04 +0000 (15:44 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 26 Feb 2012 15:44:04 +0000 (15:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/spinctrl_osx.cpp

index cace5fd4e6936a0aef3ca8ececc55780babd68f0..acd16fac55acf3656e6678a35104b6efed4d6d2a 100644 (file)
@@ -320,6 +320,8 @@ bool wxSpinCtrl::Enable(bool enable)
 {
     if ( !wxControl::Enable(enable) )
         return false;
+    m_text->Enable(enable);
+    m_btn->Enable(enable);
     return true;
 }