Fixed problem with tab traversal in wxSpinCtrl (added SetFocus())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d6707afb72
commit
8bf3196d66
@ -67,6 +67,7 @@ public:
|
||||
protected:
|
||||
virtual void DoMoveWindow(int x, int y, int width, int height);
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
virtual void SetFocus();
|
||||
|
||||
// the handler for wxSpinButton events
|
||||
void OnSpinChange(wxSpinEvent& event);
|
||||
|
@ -232,6 +232,11 @@ bool wxSpinCtrl::Enable(bool enable)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void wxSpinCtrl::SetFocus()
|
||||
{
|
||||
::SetFocus((HWND)m_hwndBuddy);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// event processing
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user