- if (flags & wxYES)
- {
- yes = new wxButton(this, wxID_YES, wxSTOCK_YES,
- wxEmptyString, wxDefaultPosition, wxCLIP_SIBLINGS);
- inner_yes_no->Add( yes, 0, wxLEFT|wxRIGHT, margin );
- }
- if (flags & wxNO)
- {
- no = new wxButton(this, wxID_NO, wxSTOCK_NO,
- wxEmptyString, wxDefaultPosition, wxCLIP_SIBLINGS);
- inner_yes_no->Add( no, 0, wxLEFT|wxRIGHT, margin );