- // Make a panel
- panel = new wxPanel(this);
- the_list = new wxListBox(panel, CLIENT_LISTBOX, wxPoint(5, 5));
- the_list->Append("Apple");
- the_list->Append("Pear");
- the_list->Append("Orange");
- the_list->Append("Banana");
- the_list->Append("Fruit");
-
- panel->Fit();
- Fit();
+ // Make a listbox which shows the choices made in the server
+ the_list = new wxListBox(this, CLIENT_LISTBOX, wxPoint(5, 5));
+ the_list->Append(_T("Apple"));
+ the_list->Append(_T("Pear"));
+ the_list->Append(_T("Orange"));
+ the_list->Append(_T("Banana"));
+ the_list->Append(_T("Fruit"));