X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/713c7336f2c96b1deddd24ec38b2a094705635b9..887b919bde47aeab043506e220be25d4d293afaf:/include/wx/generic/spinctlg.h diff --git a/include/wx/generic/spinctlg.h b/include/wx/generic/spinctlg.h index 19a78bb881..2cc581c928 100644 --- a/include/wx/generic/spinctlg.h +++ b/include/wx/generic/spinctlg.h @@ -96,7 +96,7 @@ public: // shouldn't accept the focus at all and any attempts to explicitly set // focus to it should give focus to its text constol part virtual bool AcceptsFocus() const { return false; } - virtual void SetFocus() { if ( m_textCtrl ) m_textCtrl->SetFocus(); } + virtual void SetFocus(); friend class wxSpinCtrlTextGeneric;