00001
00002
00003
00004
00005
00006
00007 #ifndef UNITSDLG_H
00008 #define UNITSDLG_H
00009
00010 #ifdef __GNUG__
00011 #pragma interface
00012 #endif
00013
00014 #include "chandbas.h"
00015 #include "wxwin.h"
00016
00019
00020
00024
00025 class Unitssettings: public wxDialog
00026 {
00027 public:
00028
00029
00030 Unitssettings(GDSMainWindow* parent,long style = (wxTHICK_FRAME | wxCAPTION));
00031
00032
00033 ~Unitssettings();
00034
00035
00036 void SetupWindow();
00037
00038
00039 void CmOk();
00040
00041
00042 void OnCloseWindow(wxCloseEvent& event);
00043
00044 protected:
00045
00046
00047 GDSMainWindow* _parent;
00048
00049
00050 wxPanel* _panel;
00051
00052
00053 wxButton* _ok;
00054
00055
00056 wxTextCtrl* _ed_acc;
00057
00058
00059 wxChoice* _units_list;
00060
00061
00062 wxStaticBox* _accbox;
00063
00064
00065 wxString _choices[9];
00066
00067
00068 char _acc[10];
00069
00070
00071 char _unit[10];
00072
00073
00074 DECLARE_EVENT_TABLE()
00075 };
00076
00077 #endif
unitsdlg.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . --