#ifndef WX_PRECOMP
#include "wx/log.h"
+ #include "wx/bitmap.h"
#include "wx/button.h"
#include "wx/checkbox.h"
#include "wx/combobox.h"
items.Add(m_combobox->GetString(n));
}
- m_sizerCombo->Remove(m_combobox);
+ m_sizerCombo->Detach( m_combobox );
delete m_combobox;
}
void ComboboxWidgetsPage::OnButtonAdd(wxCommandEvent& event)
{
- static size_t s_item = 0;
+ static unsigned int s_item = 0;
wxString s = m_textAdd->GetValue();
if ( !m_textAdd->IsModified() )
void ComboboxWidgetsPage::OnButtonAddMany(wxCommandEvent& WXUNUSED(event))
{
// "many" means 1000 here
- for ( size_t n = 0; n < 1000; n++ )
+ for ( unsigned int n = 0; n < 1000; n++ )
{
m_combobox->Append(wxString::Format(_T("item #%u"), n));
}