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:
parent
24f3b5230c
commit
85c1bc34e3
|
@ -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 ());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ namespace VeraCrypt
|
|||
protected:
|
||||
void SetPimValidator ();
|
||||
void OnPimChanged (wxCommandEvent& event);
|
||||
void OnPimChanged (int pim);
|
||||
void OnPimValueChanged (int pim);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue