X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2456792140d99250515d32a5b7d5a9857c993640..df71db0ede2a7e2818c140c651c048c30a838101:/src/mac/carbon/spinctrl.cpp diff --git a/src/mac/carbon/spinctrl.cpp b/src/mac/carbon/spinctrl.cpp index 6e68e34316..40e5211fbd 100644 --- a/src/mac/carbon/spinctrl.cpp +++ b/src/mac/carbon/spinctrl.cpp @@ -12,7 +12,7 @@ #pragma implementation "spinctrl.h" #endif -#include "wx/defs.h" +#include "wx/wxprec.h" #if wxUSE_SPINCTRL @@ -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 // ----------------------------------------------------------------------------