1 #ifndef GUI_WIDGETS_EDIT___MACRO_SIMPLE__HPP
2 #define GUI_WIDGETS_EDIT___MACRO_SIMPLE__HPP
33 #include <wx/dialog.h>
47 #define SYMBOL_MACRO_SIMPLE_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|wxRESIZE_BORDER
48 #define SYMBOL_MACRO_SIMPLE_TITLE _("Simple Macro Editor")
49 #define SYMBOL_MACRO_SIMPLE_IDNAME ID_MACRO_SIMPLE
50 #define SYMBOL_MACRO_SIMPLE_SIZE wxSize(600, 400)
51 #define SYMBOL_MACRO_SIMPLE_POSITION wxDefaultPosition
74 bool Create( wxWindow* parent,
92 void OnKey(wxKeyEvent & event);
void OnKey(wxKeyEvent &event)
wxTextCtrl * m_ActionPanel
void OnUpdateText(wxCommandEvent &event)
bool Create(wxWindow *parent, wxWindowID id=ID_MACRO_SIMPLE, const wxString &caption=_("Simple Macro Editor"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(600, 400), long style=wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|wxRESIZE_BORDER)
macro::CMacroEngine m_MEngine
~CMacroSimple()
Destructor.
void CreateControls()
Creates the controls and sizers.
void Init()
Initialises member variables.
CRef< macro::CMacroRep > GetMacro()
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
CMacroSimple()
Constructors.
static bool ShowToolTips()
Should we show tooltips?
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Macro engine for macro execution.
#define SYMBOL_MACRO_SIMPLE_STYLE
#define SYMBOL_MACRO_SIMPLE_SIZE
#define SYMBOL_MACRO_SIMPLE_TITLE
#define SYMBOL_MACRO_SIMPLE_IDNAME
#define SYMBOL_MACRO_SIMPLE_POSITION
static void text(MDB_val *v)
const struct ncbi::grid::netcache::search::fields::SIZE size