Linux/MacOSX: workaround for wxWidgets bug in the method wxTextEntry::IsEmpty that made it impossible to enter a one digit size for the volume.

This commit is contained in:
Mounir IDRASSI 2015-01-03 23:52:31 +01:00
parent 55b3400afa
commit 9a31c23881

View File

@ -89,7 +89,7 @@ namespace VeraCrypt
bool VolumeSizeWizardPage::IsValid ()
{
if (!VolumeSizeTextCtrl->IsEmpty() && Validate())
if (!VolumeSizeTextCtrl->GetValue().empty() && Validate())
{
try
{