Go to the SVN repository for this file.
40 #include <wx/choice.h> 41 #include <wx/bitmap.h> 78wxPanel::Create( parent,
id, pos,
size, style );
83GetSizer()->SetSizeHints(
this);
107wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
108itemPanel1->SetSizer(itemBoxSizer2);
110wxArrayString itemChoice3Strings;
111wxChoice* itemChoice3 =
newwxChoice( itemPanel1,
ID_CHOICE2, wxDefaultPosition, wxDefaultSize, itemChoice3Strings, 0 );
112itemBoxSizer2->Add(itemChoice3, 0, wxGROW|wxALL, 5);
117wxChoice* choice = (wxChoice*)FindWindow(
ID_CHOICE2);
121 const IUIObject& descr = (*it)->GetDescr();
128 if(choice->GetCount() > 1) {
129choice->SetSelection(1);
130}
else if(choice->GetCount() > 0) {
131choice->SetSelection(0);
bool Create(wxWindow *parent, wxWindowID id=ID_CDATASOURCESPAGE, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
wxIcon GetIconResource(const wxString &name)
wxBitmap GetBitmapResource(const wxString &name)
static bool ShowToolTips()
CUIDataSourceService * m_Service
virtual void GetDataSourceTypes(TDataSourceTypeVec &type_vec)
vector< TUIDataSourceTypeRef > TDataSourceTypeVec
IUIObject - object that provides basic properties often required in a UI object.
static const struct type types[]
#define NON_CONST_ITERATE(Type, Var, Cont)
Non constant version of ITERATE macro.
virtual const string & GetLabel() const =0
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const struct ncbi::grid::netcache::search::fields::SIZE size
wxString ToWxString(const string &s)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4