46 wxTextCtrl* m_QueriesName;
47 wxTextCtrl* m_QueriesDescription;
51 QueriesListDLG(wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = wxT(
"Edit queries"),
52 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
53 long style = wxRESIZE_BORDER | wxDEFAULT_DIALOG_STYLE);
58 wxString GetQueriesName() {
59 return m_QueriesName->GetValue();
62 void SetQueriesName(
const wxString& name) {
63 m_QueriesName->SetValue(name);
67 wxString GetQueriesDescription() {
68 return m_QueriesDescription->GetValue();
71 void SetQueriesDescription(
const wxString& desc) {
72 m_QueriesDescription->SetValue(desc);
76 int GetQueriesTarget() {
77 return m_Target->GetSelection();
80 void SetQueriesTarget(
int toc_generic_name) {
81 m_Target->SetSelection(toc_generic_name);