git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48301
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxListBoxBase *wxAnyChoiceDialog::CreateList(int n, const wxString *choices, long styleLbox)
{
wxListBoxBase *wxAnyChoiceDialog::CreateList(int n, const wxString *choices, long styleLbox)
{
- wxSize size = wxDefaultSize;
- if (wxSystemSettings::GetScreenType() > wxSYS_SCREEN_PDA)
- size = wxSize(300, 200);
return new wxListBox( this, wxID_LISTBOX,
return new wxListBox( this, wxID_LISTBOX,
- wxDefaultPosition, size,
+ wxDefaultPosition, wxDefaultSize,
n, choices,
styleLbox );
}
n, choices,
styleLbox );
}
wxListBoxBase *wxMultiChoiceDialog::CreateList(int n, const wxString *choices, long styleLbox)
{
wxListBoxBase *wxMultiChoiceDialog::CreateList(int n, const wxString *choices, long styleLbox)
{
- wxSize size = wxDefaultSize;
- if (wxSystemSettings::GetScreenType() > wxSYS_SCREEN_PDA)
- size = wxSize(300, 200);
-
return new wxCheckListBox( this, wxID_LISTBOX,
return new wxCheckListBox( this, wxID_LISTBOX,
- wxDefaultPosition, size,
+ wxDefaultPosition, wxDefaultSize,
n, choices,
styleLbox );
}
n, choices,
styleLbox );
}