Remove unused variable from the dialogs sample
This commit is contained in:
parent
7629da8e10
commit
b4a29dfab7
1 changed files with 0 additions and 8 deletions
|
|
@ -3855,19 +3855,16 @@ void StdButtonSizerDialog::OnEvent(wxCommandEvent& WXUNUSED(event))
|
|||
EnableDisableControls();
|
||||
|
||||
long flags = 0;
|
||||
unsigned long numButtons = 0;
|
||||
|
||||
if (m_chkboxAffirmativeButton->IsChecked())
|
||||
{
|
||||
if (m_radiobtnOk->GetValue())
|
||||
{
|
||||
flags |= wxOK;
|
||||
numButtons ++;
|
||||
}
|
||||
else if (m_radiobtnYes->GetValue())
|
||||
{
|
||||
flags |= wxYES;
|
||||
numButtons ++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3876,13 +3873,11 @@ void StdButtonSizerDialog::OnEvent(wxCommandEvent& WXUNUSED(event))
|
|||
if (m_radiobtnCancel->GetValue())
|
||||
{
|
||||
flags |= wxCANCEL;
|
||||
numButtons ++;
|
||||
}
|
||||
|
||||
else if (m_radiobtnClose->GetValue())
|
||||
{
|
||||
flags |= wxCLOSE;
|
||||
numButtons ++;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -3890,19 +3885,16 @@ void StdButtonSizerDialog::OnEvent(wxCommandEvent& WXUNUSED(event))
|
|||
if (m_chkboxApply->IsChecked())
|
||||
{
|
||||
flags |= wxAPPLY;
|
||||
numButtons ++;
|
||||
}
|
||||
|
||||
if (m_chkboxNo->IsChecked())
|
||||
{
|
||||
flags |= wxNO;
|
||||
numButtons ++;
|
||||
}
|
||||
|
||||
if (m_chkboxHelp->IsChecked())
|
||||
{
|
||||
flags |= wxHELP;
|
||||
numButtons ++;
|
||||
}
|
||||
|
||||
if (m_chkboxNoDefault->IsChecked())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue