mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Linux/MacOSX: Add dedicated PIM page in the volume creation wizard. Correct PIM value check logic.
This commit is contained in:
26
src/Main/Forms/Forms.h
Executable file → Normal file
26
src/Main/Forms/Forms.h
Executable file → Normal file
@@ -1011,6 +1011,32 @@ namespace VeraCrypt
|
||||
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
/// Class VolumePimWizardPageBase
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
class VolumePimWizardPageBase : public WizardPage
|
||||
{
|
||||
private:
|
||||
|
||||
protected:
|
||||
wxBoxSizer* PimPanelSizer;
|
||||
wxBoxSizer* PimSizer;
|
||||
wxStaticText* VolumePimStaticText;
|
||||
wxTextCtrl* VolumePimTextCtrl;
|
||||
wxStaticText* VolumePinHelpStaticText;
|
||||
wxStaticText* InfoStaticText;
|
||||
|
||||
// Virtual event handlers, overide them in your derived class
|
||||
virtual void OnPimChanged( wxCommandEvent& event ) { event.Skip(); }
|
||||
|
||||
|
||||
public:
|
||||
|
||||
VolumePimWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
|
||||
~VolumePimWizardPageBase();
|
||||
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
/// Class VolumeSizeWizardPageBase
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user