16#ifndef __albaGUIListBox_H__
17#define __albaGUIListBox_H__
22#include <wx/listctrl.h>
40 const wxPoint& pos = wxDefaultPosition,
41 const wxSize& size = wxDefaultSize,
42 long style = wxTAB_TRAVERSAL | wxCLIP_CHILDREN);
47 void AddItem(wxString label,
bool checked =
false);
a ListBox that send albaEventNotification in the form albaEvent(this, widget_id, item_id,...
virtual ~albaGUIListBox()
void SetItemLabel(long id, wxString label)
void OnSize(wxSizeEvent &event)
wxString GetStringSelection()
void OnSelect(wxCommandEvent &event)
void SetListener(albaObserver *listener)
void AddItem(wxString label, bool checked=false)
void SetItemLabel(wxString label)
albaGUIListBox(wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxCLIP_CHILDREN)
albaObserver * m_Listener
class name: albaGUIPanel Inherits directly from wxPanel and adds the pointer to the next panel
Interface implementing the Observer of the Subject/Observer design pattern.