Linux/MacOSX: workaround bug in old versions of g++ that are confused by methods having the same name and one of them used as wxWidgets event handler callback.

This commit is contained in:
Mounir IDRASSI 2015-09-14 00:47:34 +02:00
parent 24f3b5230c
commit 85c1bc34e3
2 changed files with 6 additions and 6 deletions

View File

@ -58,7 +58,7 @@ namespace VeraCrypt
VolumePimTextCtrl->SetValue (wxT(""));
}
OnPimChanged (pim);
OnPimValueChanged (pim);
}
bool VolumePimWizardPage::IsValid ()
@ -68,10 +68,10 @@ namespace VeraCrypt
void VolumePimWizardPage::OnPimChanged (wxCommandEvent& event)
{
OnPimChanged (GetVolumePim ());
OnPimValueChanged (GetVolumePim ());
}
void VolumePimWizardPage::OnPimChanged (int pim)
void VolumePimWizardPage::OnPimValueChanged (int pim)
{
if (pim > 0)
{
@ -119,6 +119,6 @@ namespace VeraCrypt
delete VolumePimTextCtrl;
VolumePimTextCtrl = newTextCtrl;
SetPimValidator ();
OnPimChanged (GetVolumePim ());
OnPimValueChanged (GetVolumePim ());
}
}
}

View File

@ -37,7 +37,7 @@ namespace VeraCrypt
protected:
void SetPimValidator ();
void OnPimChanged (wxCommandEvent& event);
void OnPimChanged (int pim);
void OnPimValueChanged (int pim);
};
}