| 1 |
#ifndef EVENTSTABLELISTVIEW_H |
| 2 |
#define EVENTSTABLELISTVIEW_H |
| 3 |
|
| 4 |
#include "events_database.h" |
| 5 |
#include "wxc_widget.h" |
| 6 |
#include <wx/bitmap.h> |
| 7 |
#include <wx/button.h> |
| 8 |
#include <wx/dc.h> |
| 9 |
#include <wx/propgrid/manager.h> |
| 10 |
#include <wx/renderer.h> |
| 11 |
|
| 12 |
class EventsEditorPane; |
| 13 |
class EventsTableListView : public wxPropertyGridManager |
| 14 |
{ |
| 15 |
wxcWidget* m_control; |
| 16 |
EventsDatabase* m_eventsDb; |
| 17 |
EventsEditorPane* m_dlg; |
| 18 |
wxBitmap m_dropDownBmp; |
| 19 |
wxString m_gotoFunctionName; |
| 20 |
|
| 21 |
protected: |
| 22 |
void OnPropertyChanged(wxPropertyGridEvent& e); |
| 23 |
|
| 24 |
public: |
| 25 |
EventsTableListView(wxWindow* parent); |
| 26 |
virtual ~EventsTableListView(); |
| 27 |
|
| 28 |
void Construct(EventsEditorPane* dlg, wxcWidget* control, const EventsDatabase& events); |
| 29 |
void Save(); |
| 30 |
}; |
| 31 |
|
| 32 |
#endif // EVENTSTABLELISTVIEW_H |