]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/spinctrl_osx.cpp
Fix uninitialized variable warning in wxMSW wxFileSystemWatcher code.
[wxWidgets.git] / 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;
 }