]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/spinctrl.cpp
SetFocus fixed
[wxWidgets.git] / src / mac / carbon / spinctrl.cpp
index 6e68e343163d8ac7f66f9cf149b51846c1e1072e..e1c2f58cbe8d59328394effe3e262e48b706153a 100644 (file)
@@ -267,6 +267,13 @@ bool wxSpinCtrl::Show(bool show)
     return TRUE;
 }
 
+void wxSpinCtrl::SetFocus()
+{
+    if ( m_text != NULL) {
+        m_text->SetFocus();
+    }
+}
+
 // ----------------------------------------------------------------------------
 // value and range access
 // ----------------------------------------------------------------------------