TestMain.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. TerminalWx - A wxWidgets terminal widget
  3. Copyright (C) 2012-2013 Jeremy Salwen
  4. License: wxWindows License Version 3.1 (See the file license3.txt)
  5. */
  6. #ifndef TESTMAIN_H
  7. #define TESTMAIN_H
  8. //(*Headers(TerminalWxFrame)
  9. #include <wx/menu.h>
  10. #include <wx/statusbr.h>
  11. #include <wx/frame.h>
  12. //*)
  13. #include <wx/event.h>
  14. #include <wx/window.h>
  15. #include "src/terminalwx.h"
  16. class TerminalWxFrame: public wxFrame
  17. {
  18. public:
  19. TerminalWxFrame(wxWindow* parent,wxWindowID id = -1);
  20. virtual ~TerminalWxFrame();
  21. private:
  22. //(*Handlers(TerminalWxFrame)
  23. void OnQuit(wxCommandEvent& event);
  24. void OnAbout(wxCommandEvent& event);
  25. void OnClose(wxCloseEvent& event);
  26. void OnCustom1Paint(wxPaintEvent& event);
  27. //*)
  28. //(*Identifiers(TerminalWxFrame)
  29. static const long ID_TERM;
  30. static const long idMenuQuit;
  31. static const long idMenuAbout;
  32. static const long ID_STATUSBAR1;
  33. //*)
  34. //(*Declarations(TerminalWxFrame)
  35. wxStatusBar* StatusBar1;
  36. TerminalWx* Term1;
  37. //*)
  38. DECLARE_EVENT_TABLE()
  39. };
  40. #endif // TERMINALWXMAIN_H