From 9a31c238814a9e433a0b07b127503f56a9ac705a Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 3 Jan 2015 23:52:31 +0100 Subject: Linux/MacOSX: workaround for wxWidgets bug in the method wxTextEntry::IsEmpty that made it impossible to enter a one digit size for the volume. --- src/Main/Forms/VolumeSizeWizardPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/Forms/VolumeSizeWizardPage.cpp b/src/Main/Forms/VolumeSizeWizardPage.cpp index ffd26f66..94cdbaf1 100644 --- a/src/Main/Forms/VolumeSizeWizardPage.cpp +++ b/src/Main/Forms/VolumeSizeWizardPage.cpp @@ -89,7 +89,7 @@ namespace VeraCrypt bool VolumeSizeWizardPage::IsValid () { - if (!VolumeSizeTextCtrl->IsEmpty() && Validate()) + if (!VolumeSizeTextCtrl->GetValue().empty() && Validate()) { try { -- cgit v1.2.3