Annotation of truecrypt/main/forms/legalnoticesdialog.cpp, revision 1.1.1.1

1.1       root        1: /*
                      2:  Copyright (c) 2008 TrueCrypt Foundation. All rights reserved.
                      3: 
                      4:  Governed by the TrueCrypt License 2.4 the full text of which is contained
                      5:  in the file License.txt included in TrueCrypt binary and source code
                      6:  distribution packages.
                      7: */
                      8: 
                      9: #include "System.h"
                     10: #include "LegalNoticesDialog.h"
                     11: #include "Main/GraphicUserInterface.h"
                     12: #include "Main/Resources.h"
                     13: 
                     14: namespace TrueCrypt
                     15: {
                     16:        LegalNoticesDialog::LegalNoticesDialog (wxWindow* parent) : LegalNoticesDialogBase (parent)
                     17:        {
                     18:                LegalNoticesTextCtrl->SetMinSize (wxSize (
                     19:                        Gui->GetCharWidth (LegalNoticesTextCtrl) * 88,
                     20:                        Gui->GetCharHeight (LegalNoticesTextCtrl) * 28));
                     21:                
                     22:                Layout();
                     23:                Fit();
                     24:                Center();
                     25: 
                     26:                LegalNoticesTextCtrl->ChangeValue (StringConverter::ToWide (Resources::GetLegalNotices()));
                     27:        }
                     28: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.