30#include "listgenreport.h"
34 STATUS_FIELD_ITEM_COUNT = 1,
36 STATUS_FIELD_ITEM_SELECTED = 2,
38 STATUS_FIELD_ITEM_BOTH = 3
53 wxStatusBar* m_status;
55 wxString m_TextField1;
56 wxString m_TextField2;
62 void OnSelectionChange(wxListEvent& event);
67 ListGenReportWithStatus(wxWindow* parent, wxWindowID
id, wxArrayString* pColsName, wxArrayInt* pColsSize =
nullptr,
68 wxSize size = wxDefaultSize);
73 wxStatusBar* GetStatusBar() {
78 void SetTextFields(
const wxString& field1 = wxEmptyString,
const wxString& field2 = wxEmptyString);
Definition listgenreport.h:319
Enhance the ListGenReportWithDialog for supporting status bar.
Definition listgenreport_status.h:50
virtual void AddItem()
Re-implement the AddItem.
Definition listgenreport_status.cpp:119
void SetStatusBar(wxStatusBar *status)
Set the status bar.
Definition listgenreport_status.cpp:57
virtual void DeleteItem()
Re-implement the DeleteItem.
Definition listgenreport_status.cpp:147
void SetTextFields(const wxString &field1=wxEmptyString, const wxString &field2=wxEmptyString)
Set the fields messages.
Definition listgenreport_status.cpp:74
bool UpdateStatus(int iField=STATUS_FIELD_ITEM_BOTH)
Update the status bar text.
Definition listgenreport_status.cpp:92