git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12356
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
for ( int i = 0; i < n; i++ )
{
for ( int i = 0; i < n; i++ )
{
- (*choices)[i] = aChoices[i];
+ (*choices)[i] = aChoices[i];
const wxString& message,
const wxString& caption,
int n, const wxString *choices,
const wxString& message,
const wxString& caption,
int n, const wxString *choices,
- long WXUNUSED(styleDlg), // FIXME: why unused?
const wxPoint& pos,
long styleLbox)
{
const wxPoint& pos,
long styleLbox)
{
- topsizer->Add( CreateButtonSizer( wxOK|wxCANCEL ), 0, wxCENTRE | wxALL, 10 );
+ topsizer->Add( CreateButtonSizer( styleDlg & (wxOK|wxCANCEL) ), 0, wxCENTRE | wxALL, 10 );
SetAutoLayout( TRUE );
SetSizer( topsizer );
SetAutoLayout( TRUE );
SetSizer( topsizer );