adding events on kill-focus (Robert's Patch)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2006-10-11 09:20:34 +00:00
parent 6c1465efb7
commit 4731b3ab86
2 changed files with 55 additions and 5 deletions

View File

@@ -26,6 +26,8 @@
class WXDLLEXPORT wxSpinButton;
class WXDLLEXPORT wxTextCtrl;
class WXDLLEXPORT wxSpinCtrlText;
class WXDLLEXPORT wxSpinCtrlButton;
// ----------------------------------------------------------------------------
// wxSpinCtrl is a combination of wxTextCtrl and wxSpinButton
@@ -106,6 +108,10 @@ private:
wxTextCtrl *m_text;
wxSpinButton *m_btn;
friend class wxSpinCtrlText;
friend class wxSpinCtrlButton;
int m_oldValue;
private:
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxSpinCtrl)