2015-03-29 21:22:53 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-04-10 18:17:21 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Aug 4 2017)
|
2015-03-29 21:22:53 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-04-10 18:17:21 +00:00
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
2015-03-29 21:22:53 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __DIALOG_ENV_VAR_CONFIG_BASE_H__
|
|
|
|
#define __DIALOG_ENV_VAR_CONFIG_BASE_H__
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2018-04-10 18:17:21 +00:00
|
|
|
class DIALOG_SHIM;
|
|
|
|
|
2015-03-29 21:22:53 +00:00
|
|
|
#include "dialog_shim.h"
|
2017-10-26 09:47:57 +00:00
|
|
|
#include <wx/listctrl.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
2015-03-29 21:22:53 +00:00
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/button.h>
|
2017-10-26 09:47:57 +00:00
|
|
|
#include <wx/sizer.h>
|
2015-11-29 14:19:22 +00:00
|
|
|
#include <wx/statline.h>
|
2015-03-29 21:22:53 +00:00
|
|
|
#include <wx/dialog.h>
|
2017-10-26 09:47:57 +00:00
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/textctrl.h>
|
2015-03-29 21:22:53 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2017-10-26 09:47:57 +00:00
|
|
|
#define ID_BUTTON_ADD_PATH 1000
|
|
|
|
#define ID_BUTTON_EDIT_PATH 1001
|
|
|
|
#define ID_BUTTON_DELETE_PATH 1002
|
2015-03-29 21:22:53 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_ENV_VAR_CONFIG_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_ENV_VAR_CONFIG_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
2017-10-26 09:47:57 +00:00
|
|
|
wxListCtrl* m_pathList;
|
|
|
|
wxButton* m_addPathButton;
|
|
|
|
wxButton* m_editPathButton;
|
|
|
|
wxButton* m_deletePathButton;
|
2015-11-29 14:19:22 +00:00
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
|
|
|
wxButton* m_sdbSizerHelp;
|
2015-03-29 21:22:53 +00:00
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
2017-10-26 09:47:57 +00:00
|
|
|
virtual void OnPathActivated( wxListEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPathSelected( wxListEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnAddButton( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnEditButton( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnRemoveButton( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnHelpButton( wxCommandEvent& event ) { event.Skip(); }
|
2015-03-29 21:22:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2017-12-22 22:34:03 +00:00
|
|
|
DIALOG_ENV_VAR_CONFIG_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Environment Variable Configuration"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2015-03-29 21:22:53 +00:00
|
|
|
~DIALOG_ENV_VAR_CONFIG_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2017-10-26 09:47:57 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_ENV_VAR_SINGLE_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_ENV_VAR_SINGLE_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxStaticText* m_envVarNameLabel;
|
|
|
|
wxTextCtrl* m_envVarName;
|
|
|
|
wxButton* m_buttonHelp;
|
|
|
|
wxStaticText* m_envVarPathLabel;
|
|
|
|
wxTextCtrl* m_envVarPath;
|
|
|
|
wxButton* m_selectPathButton;
|
|
|
|
wxStaticLine* m_staticline2;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer2;
|
|
|
|
wxButton* m_sdbSizer2OK;
|
|
|
|
wxButton* m_sdbSizer2Cancel;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
2018-04-10 18:17:21 +00:00
|
|
|
virtual void onVarNameChange( wxCommandEvent& event ) { event.Skip(); }
|
2017-10-26 09:47:57 +00:00
|
|
|
virtual void onHelpClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSelectPath( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2017-12-22 22:34:03 +00:00
|
|
|
DIALOG_ENV_VAR_SINGLE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Edit Environment Variable"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2017-10-26 09:47:57 +00:00
|
|
|
~DIALOG_ENV_VAR_SINGLE_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2015-03-29 21:22:53 +00:00
|
|
|
#endif //__DIALOG_ENV_VAR_CONFIG_BASE_H__
|