#include "wx/wxprec.h"
+#if wxUSE_COMBOBOX
+
#include "wx/combobox.h"
#include "wx/button.h"
#include "wx/menu.h"
const wxString& name)
{
if ( !wxControl::Create(parent, id, wxDefaultPosition, wxDefaultSize, style ,
- wxDefaultValidator, name) )
+ validator, name) )
{
return false;
}
}
SetBestSize(size); // Needed because it is a wxControlWithItems
-
+ SetStringSelection(value);
+
return true;
}
return noErr ;
}
+#endif