1 //-----------------------------------------------------------------------------
3 // Purpose: XML resources sample: Object references and ID ranges dialog
4 // Author: David Hart, Vaclav Slavik
5 // Copyright: (c) Vaclav Slavik
6 // Licence: wxWindows licence
7 //-----------------------------------------------------------------------------
9 //-----------------------------------------------------------------------------
10 // Begin single inclusion of this .h file condition
11 //-----------------------------------------------------------------------------
16 //-----------------------------------------------------------------------------
18 //-----------------------------------------------------------------------------
20 #include "wx/dialog.h"
21 #include "wx/notebook.h"
23 //-----------------------------------------------------------------------------
24 // Class definition: ObjrefDialog
25 //-----------------------------------------------------------------------------
27 class ObjrefDialog
: public wxDialog
33 ObjrefDialog( wxWindow
* parent
);
56 void OnNotebookPageChanged( wxNotebookEvent
&event
);
57 void OnUpdateUIFirst(wxUpdateUIEvent
& event
);
58 void OnUpdateUISecond(wxUpdateUIEvent
& event
);
59 void OnUpdateUIThird(wxUpdateUIEvent
& event
);
60 void OnNumeralClick(wxCommandEvent
& event
);
61 void OnOperatorClick(wxCommandEvent
& event
);
63 void ClearCalculator();
67 wxTextCtrl
*result_txt
;
70 bool operator_expected
;
71 CalcOperator curr_operator
;
75 #endif //_OBJREFDLG_H_