You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configdialog.h 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #ifndef CONFIGDIALOG_H
  2. #define CONFIGDIALOG_H
  3. #include <string>
  4. #include <fstream>
  5. #include <iostream>
  6. #include <stdlib.h>
  7. //(*Headers(configdialog)
  8. #include <wx/dialog.h>
  9. #include <wx/hyperlink.h>
  10. #include <wx/sizer.h>
  11. #include <wx/statbmp.h>
  12. #include <wx/stattext.h>
  13. //*)
  14. class configdialog: public wxDialog
  15. {
  16. public:
  17. configdialog(wxWindow* parent,wxWindowID id=wxID_ANY);
  18. virtual ~configdialog();
  19. //(*Declarations(configdialog)
  20. wxHyperlinkCtrl* HyperlinkCtrl1;
  21. wxHyperlinkCtrl* HyperlinkCtrl2;
  22. wxStaticBitmap* StaticBitmap1;
  23. wxStaticText* StaticText1;
  24. wxStaticText* StaticText2;
  25. wxStaticText* StaticText3;
  26. //*)
  27. protected:
  28. //(*Identifiers(configdialog)
  29. static const long ID_STATICBITMAP1;
  30. static const long ID_STATICTEXT2;
  31. static const long ID_STATICTEXT3;
  32. static const long ID_STATICTEXT1;
  33. static const long ID_HYPERLINKCTRL2;
  34. static const long ID_HYPERLINKCTRL1;
  35. //*)
  36. private:
  37. std::string install_path;
  38. //(*Handlers(configdialog)
  39. std::string utf8_encode(const std::wstring &wstr);
  40. void OnQuit(wxCommandEvent& event);
  41. void OnHyperlinkCtrl1Click(wxCommandEvent& event);
  42. void OnHyperlinkCtrl2Click(wxCommandEvent& event);
  43. //*)
  44. DECLARE_EVENT_TABLE()
  45. };
  46. #endif