| 1 |
#include "GroupSpecifierPanel.h" |
| 2 |
|
| 3 |
#include <wx/textctrl.h> |
| 4 |
|
| 5 |
namespace objectives |
| 6 |
{ |
| 7 |
|
| 8 |
namespace ce |
| 9 |
{ |
| 10 |
|
| 11 |
// Reg helper |
| 12 |
GroupSpecifierPanel::RegHelper GroupSpecifierPanel::_regHelper; |
| 13 |
|
| 14 |
GroupSpecifierPanel::GroupSpecifierPanel(wxWindow* parent) : |
| 15 |
TextSpecifierPanel(parent) |
| 16 |
{ |
| 17 |
// Set up the auto-completion |
| 18 |
wxArrayString choices; |
| 19 |
|
| 20 |
choices.Add("loot_total"); |
| 21 |
choices.Add("loot_gold"); |
| 22 |
choices.Add("loot_jewels"); |
| 23 |
choices.Add("loot_goods"); |
| 24 |
|
| 25 |
_entry->AutoComplete(choices); |
| 26 |
} |
| 27 |
|
| 28 |
} // namespace ce |
| 29 |
|
| 30 |
} // namespace objectives |