mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
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:
@@ -58,7 +58,7 @@ namespace VeraCrypt
|
|||||||
VolumePimTextCtrl->SetValue (wxT(""));
|
VolumePimTextCtrl->SetValue (wxT(""));
|
||||||
}
|
}
|
||||||
|
|
||||||
OnPimChanged (pim);
|
OnPimValueChanged (pim);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool VolumePimWizardPage::IsValid ()
|
bool VolumePimWizardPage::IsValid ()
|
||||||
@@ -68,10 +68,10 @@ namespace VeraCrypt
|
|||||||
|
|
||||||
void VolumePimWizardPage::OnPimChanged (wxCommandEvent& event)
|
void VolumePimWizardPage::OnPimChanged (wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
OnPimChanged (GetVolumePim ());
|
OnPimValueChanged (GetVolumePim ());
|
||||||
}
|
}
|
||||||
|
|
||||||
void VolumePimWizardPage::OnPimChanged (int pim)
|
void VolumePimWizardPage::OnPimValueChanged (int pim)
|
||||||
{
|
{
|
||||||
if (pim > 0)
|
if (pim > 0)
|
||||||
{
|
{
|
||||||
@@ -119,6 +119,6 @@ namespace VeraCrypt
|
|||||||
delete VolumePimTextCtrl;
|
delete VolumePimTextCtrl;
|
||||||
VolumePimTextCtrl = newTextCtrl;
|
VolumePimTextCtrl = newTextCtrl;
|
||||||
SetPimValidator ();
|
SetPimValidator ();
|
||||||
OnPimChanged (GetVolumePim ());
|
OnPimValueChanged (GetVolumePim ());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -37,7 +37,7 @@ namespace VeraCrypt
|
|||||||
protected:
|
protected:
|
||||||
void SetPimValidator ();
|
void SetPimValidator ();
|
||||||
void OnPimChanged (wxCommandEvent& event);
|
void OnPimChanged (wxCommandEvent& event);
|
||||||
void OnPimChanged (int pim);
|
void OnPimValueChanged (int pim);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user