24#ifndef GRID_COMBOBOX_H 
   25#define GRID_COMBOBOX_H 
   27#include <wx/combobox.h> 
   28#include <wx/generic/gridctrl.h> 
   29#include <wx/generic/grideditors.h> 
   40    wxGridCellEditor* 
Clone() 
const override;
 
   41    void Create( wxWindow* aParent, wxWindowID aId, wxEvtHandler* aEventHandler ) 
override;
 
   45    void SetSize( 
const wxRect& aRect ) 
override;
 
   47    void BeginEdit( 
int aRow, 
int aCol, wxGrid* aGrid ) 
override;
 
   48    bool EndEdit( 
int aRow, 
int aCol, 
const wxGrid*, 
const wxString&, wxString* aNewVal ) 
override;
 
   49    void ApplyEdit( 
int aRow, 
int aCol, wxGrid* aGrid ) 
override;
 
   50    void Reset() 
override;
 
   53    wxComboBox* 
Combo()
 const { 
return static_cast<wxComboBox*
>( m_control ); }
 
 
bool EndEdit(int aRow, int aCol, const wxGrid *, const wxString &, wxString *aNewVal) override
 
void onComboDropDown(wxCommandEvent &aEvent)
 
GRID_CELL_COMBOBOX(const wxArrayString &names)
 
void Create(wxWindow *aParent, wxWindowID aId, wxEvtHandler *aEventHandler) override
 
void onComboCloseUp(wxCommandEvent &aEvent)
 
wxString GetValue() const override
 
void BeginEdit(int aRow, int aCol, wxGrid *aGrid) override
 
wxDECLARE_NO_COPY_CLASS(GRID_CELL_COMBOBOX)
 
wxComboBox * Combo() const
 
void SetSize(const wxRect &aRect) override
 
void ApplyEdit(int aRow, int aCol, wxGrid *aGrid) override
 
wxGridCellEditor * Clone() const override