00001 00014 #ifndef _cWindowFrameAct_h 00015 #define _cWindowFrameAct_h 00016 00017 #include "cWindowFrame.h" 00018 #include "cConnectGuiAct.h" 00019 00020 //#include "cSqlAct.h" 00021 00022 class cWindowFrameAct: public cWindowFrame 00023 { 00024 public: 00026 cWindowFrameAct(const wxString sTitle, const int iPosX, const int iPosY, int iWidth, int iHeight); 00027 00029 ~cWindowFrameAct(void); 00030 00031 protected: 00032 DECLARE_EVENT_TABLE() 00033 00034 private: 00035 00036 cConnectGuiAct *pConnectGuiAct; 00037 cConnect *pConnect; 00038 00039 // cSqlAct SqlAct; 00040 //************************** 00041 // All Events Functions. 00042 //************************** 00043 00044 // Under File Menu. 00045 void OnMenuFileOpenDB(wxCommandEvent &event); 00046 void OnMenuFileConnect(wxCommandEvent &event); 00047 void OnMenuFileQuit(wxCommandEvent &event); 00048 00049 // Under Options Menu. 00050 void OnMenuOptionsPreference(wxCommandEvent &event); 00051 00052 // Under Help Menu. 00053 void OnMenuHelpAbout(wxCommandEvent &event); 00054 00055 void CloseWindowFrame(wxCloseEvent &event); 00056 00057 }; 00058 #endif // _cWindowFrameAct_h