From 85c1bc34e39a5e7682778c53ce68d6768346999c Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 14 Sep 2015 00:47:34 +0200 Subject: 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. --- src/Main/Forms/VolumePimWizardPage.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/Main/Forms/VolumePimWizardPage.cpp') diff --git a/src/Main/Forms/VolumePimWizardPage.cpp b/src/Main/Forms/VolumePimWizardPage.cpp index 8f98cb54..e3353051 100644 --- a/src/Main/Forms/VolumePimWizardPage.cpp +++ b/src/Main/Forms/VolumePimWizardPage.cpp @@ -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 ()); } -} \ No newline at end of file +} -- cgit v1.2.3