1 #ifndef GUI_WIDGETS_EDIT___STRING_LIST_CTRL__HPP
2 #define GUI_WIDGETS_EDIT___STRING_LIST_CTRL__HPP
41 #include <wx/scrolwin.h>
42 #include <wx/textctrl.h>
43 #include <wx/hyperlink.h>
50 class wxFlexGridSizer;
60 #define SYMBOL_CSTRINGLISTCTRL_STYLE wxTAB_TRAVERSAL
61 #define SYMBOL_CSTRINGLISTCTRL_TITLE _("String List Control")
62 #define SYMBOL_CSTRINGLISTCTRL_IDNAME ID_CSTRINGSPANEL
63 #define SYMBOL_CSTRINGLISTCTRL_SIZE wxSize(400, 300)
64 #define SYMBOL_CSTRINGLISTCTRL_POSITION wxDefaultPosition
148 void OnDelete (wxHyperlinkEvent& event);
CStringListCtrl & m_Control
CConstIterator & operator++()
CConstIterator(CStringListCtrl &control)
bool AddString(const string &value)
void SetCurrentStringId(int value)
void Init()
Initialises member variables.
static bool ShowToolTips()
Should we show tooltips?
void OnDelete(wxHyperlinkEvent &event)
void OnTextCtrlUpdated(wxCommandEvent &event)
bool Create(wxWindow *parent, wxWindowID id=ID_CSTRINGSPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
void CreateControls()
Creates the controls and sizers.
wxFlexGridSizer * m_GridSizer
int GetCurrentStringId() const
~CStringListCtrl()
Destructor.
CStringListCtrl()
Constructors.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
size_t GetMaxStringsCount() const
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const struct ncbi::grid::netcache::search::fields::SIZE size
const GenericPointer< typename T::ValueType > T2 value
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
#define SYMBOL_CSTRINGLISTCTRL_SIZE
#define SYMBOL_CSTRINGLISTCTRL_IDNAME
#define SYMBOL_CSTRINGLISTCTRL_STYLE
#define SYMBOL_CSTRINGLISTCTRL_POSITION