1 //-----------------------------------------------------------------------------
3 // Purpose: XML resources sample: Object references and ID ranges dialog
4 // Author: David Hart, Vaclav Slavik
6 // Copyright: (c) Vaclav Slavik
7 // Licence: wxWindows licence
8 //-----------------------------------------------------------------------------
10 //-----------------------------------------------------------------------------
11 // Begin single inclusion of this .h file condition
12 //-----------------------------------------------------------------------------
17 //-----------------------------------------------------------------------------
19 //-----------------------------------------------------------------------------
21 #include "wx/dialog.h"
22 #include "wx/notebook.h"
24 //-----------------------------------------------------------------------------
25 // Class definition: ObjrefDialog
26 //-----------------------------------------------------------------------------
28 class ObjrefDialog
: public wxDialog
34 ObjrefDialog( wxWindow
* parent
);
57 void OnNotebookPageChanged( wxNotebookEvent
&event
);
58 void OnUpdateUIFirst(wxUpdateUIEvent
& event
);
59 void OnUpdateUISecond(wxUpdateUIEvent
& event
);
60 void OnUpdateUIThird(wxUpdateUIEvent
& event
);
61 void OnNumeralClick(wxCommandEvent
& event
);
62 void OnOperatorClick(wxCommandEvent
& event
);
64 void ClearCalculator();
68 wxTextCtrl
*result_txt
;
71 bool operator_expected
;
72 CalcOperator curr_operator
;
76 #endif //_OBJREFDLG_H_