25#include <wx/aui/aui.h>
32 const wxPoint& aLocation,
const wxSize& aSize,
33 const wxArrayString* aChoices ) :
34 wxComboBox( aParent, aId, wxEmptyString, aLocation, aSize, 0, nullptr, wxCB_READONLY )
50 int ii = GetSelection();
56 wxString msg = GetString( ii ).AfterFirst(
' ' ).BeforeFirst(
' ' );
59 if( msg.ToLong( &
id ) )
71 for(
unsigned index = 1; index < GetCount(); ++index )
73 msg = GetString( index ).AfterFirst(
' ' ).BeforeFirst(
' ' );
76 if( msg.ToLong(&
id) &&
id == aDCodeId )
78 SetSelection( index );
void SetDCodeSelection(int aDCodeId)
void AppendDCodeList(const wxArrayString &aChoices)
DCODE_SELECTION_BOX(wxAuiToolBar *aParent, wxWindowID aId, const wxPoint &aLocation, const wxSize &aSize, const wxArrayString *aChoices=nullptr)