mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-06-13 00:06:59 -05:00
MacOSX: support pasting values to password fields using keyboard (CMD+V and CMD+A now working properly). This make using password managers with VeraCrypt easier.
This commit is contained in:
@@ -36,6 +36,17 @@
|
||||
|
||||
namespace VeraCrypt
|
||||
{
|
||||
#ifdef TC_MACOSX
|
||||
|
||||
bool VolumeCreationWizard::ProcessEvent(wxEvent& event)
|
||||
{
|
||||
if(GraphicUserInterface::HandlePasswordEntryCustomEvent (event))
|
||||
return true;
|
||||
else
|
||||
return WizardFrame::ProcessEvent(event);
|
||||
}
|
||||
#endif
|
||||
|
||||
VolumeCreationWizard::VolumeCreationWizard (wxWindow* parent)
|
||||
: WizardFrame (parent),
|
||||
CrossPlatformSupport (true),
|
||||
@@ -55,6 +66,10 @@ namespace VeraCrypt
|
||||
SetTitle (LangString["INTRO_TITLE"]);
|
||||
SetImage (Resources::GetVolumeCreationWizardBitmap (Gui->GetCharHeight (this) * 21));
|
||||
SetMaxStaticTextWidth (55);
|
||||
|
||||
#ifdef TC_MACOSX
|
||||
GraphicUserInterface::InstallPasswordEntryCustomKeyboardShortcuts (this);
|
||||
#endif
|
||||
|
||||
SetStep (Step::VolumeHostType);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user