VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-04-19 16:30:28 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-04-19 16:31:28 +0200
commit2ec75c5f8ed8e318766bcbd99a8d92cc5fe5bf38 (patch)
treec87c3e2a9f24264fba701f98e08a9f173e410691
parent29501638d1c3acb84740dfe5bcd01f759e0d314d (diff)
downloadVeraCrypt-2ec75c5f8ed8e318766bcbd99a8d92cc5fe5bf38.tar.gz
VeraCrypt-2ec75c5f8ed8e318766bcbd99a8d92cc5fe5bf38.zip
Linux: Correct wxWidgets assert warnings when displaying about/LegalNotice dialogs. This didn't happen with official binaries because the library used disables asserts.
-rwxr-xr-xsrc/Main/Forms/Forms.cpp2
-rwxr-xr-xsrc/Main/Forms/TrueCrypt.fbp4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/Main/Forms/Forms.cpp b/src/Main/Forms/Forms.cpp
index d05524db..dcbd38f5 100755
--- a/src/Main/Forms/Forms.cpp
+++ b/src/Main/Forms/Forms.cpp
@@ -717,7 +717,6 @@ AboutDialogBase::AboutDialogBase( wxWindow* parent, wxWindowID id, const wxStrin
bSizer117->Add( m_staticline3, 0, wxEXPAND|wxBOTTOM, 5 );
CreditsTextCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY|wxSUNKEN_BORDER );
- CreditsTextCtrl->SetMaxLength( 0 );
bSizer117->Add( CreditsTextCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 10 );
@@ -1481,7 +1480,6 @@ LegalNoticesDialogBase::LegalNoticesDialogBase( wxWindow* parent, wxWindowID id,
bSizer115 = new wxBoxSizer( wxVERTICAL );
LegalNoticesTextCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY );
- LegalNoticesTextCtrl->SetMaxLength( 0 );
bSizer115->Add( LegalNoticesTextCtrl, 1, wxALL|wxEXPAND, 5 );
wxButton* OKButton;
diff --git a/src/Main/Forms/TrueCrypt.fbp b/src/Main/Forms/TrueCrypt.fbp
index cf43cbf9..86621bac 100755
--- a/src/Main/Forms/TrueCrypt.fbp
+++ b/src/Main/Forms/TrueCrypt.fbp
@@ -3874,7 +3874,7 @@
<property name="max_size"></property>
<property name="maximize_button">0</property>
<property name="maximum_size"></property>
- <property name="maxlength">0</property>
+ <property name="maxlength"></property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size"></property>
@@ -10695,7 +10695,7 @@
<property name="max_size"></property>
<property name="maximize_button">0</property>
<property name="maximum_size"></property>
- <property name="maxlength">0</property>
+ <property name="maxlength"></property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size"></property>