00001 #ifndef WAIT_H
00002 #define WAIT_H
00003
00004 #ifdef __GNUG__
00005 #pragma interface
00006 #endif
00007
00008
00009
00010 #define WAIT_HSIZE 300
00011 #define WAIT_VSIZE 100
00012
00013 #ifdef __UNIX__
00014 #define WAIT_BUTTON_H 25
00015 #define WAIT_BUTTON_W 70
00016 #define WAIT_BUTTON1_X 120
00017 #define WAIT_BUTTON1_Y 70
00018 #define WAIT_MESSAGE1_X 50
00019 #define WAIT_MESSAGE1_Y 40
00020 #else
00021 #define WAIT_BUTTON_H 17
00022 #define WAIT_BUTTON_W 70
00023 #define WAIT_BUTTON1_X 120
00024 #define WAIT_BUTTON1_Y 50
00025 #define WAIT_MESSAGE1_X 50
00026 #define WAIT_MESSAGE1_Y 25
00027 #endif
00028
00029 class Wait: public wxDialog
00030 {
00031 public:
00032 Wait(GDSMainWindow*,char*,int,int,int,int,long style = (wxTHICK_FRAME | wxCAPTION),char *name="waitFrame");
00033 ~Wait();
00034
00035 void SetMessage(char*);
00036 void CmOk();
00037
00038 protected:
00039
00040 char* _message;
00041 wxPanel* _panel;
00042 wxButton* _okButton;
00043 wxStaticText* _text1;
00044
00045 DECLARE_EVENT_TABLE()
00046
00047 };
00048
00049 #endif
wait.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . --