X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9bce7b7b134224a3bc8c4a47c1be630b2759049b..9ceed261f809dacf8f64c2287c5de9e45d22e5cb:/src/generic/spinctlg.cpp diff --git a/src/generic/spinctlg.cpp b/src/generic/spinctlg.cpp index d872780e9c..d3c1cdb4a6 100644 --- a/src/generic/spinctlg.cpp +++ b/src/generic/spinctlg.cpp @@ -279,6 +279,12 @@ void wxSpinCtrlGenericBase::DoMoveWindow(int x, int y, int width, int height) // operations forwarded to the subcontrols // ---------------------------------------------------------------------------- +void wxSpinCtrlGenericBase::SetFocus() +{ + if ( m_textCtrl ) + m_textCtrl->SetFocus(); +} + bool wxSpinCtrlGenericBase::Enable(bool enable) { // Notice that we never enable this control itself, it must stay disabled