mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-05-14 00:21:35 +00:00
Build: fix macOS text self-test with wxWidgets 3.3.2
This commit is contained in:
@@ -51,6 +51,11 @@ namespace VeraCrypt
|
||||
virtual void ImportTokenKeyfiles () const;
|
||||
#ifndef TC_NO_GUI
|
||||
virtual bool Initialize (int &argc, wxChar **argv) { return wxAppBase::Initialize(argc, argv); }
|
||||
#ifdef TC_MACOSX
|
||||
// Avoid wxApp::CallOnInit(), which can enter the Cocoa event loop before text-mode OnInit() runs.
|
||||
virtual bool CallOnInit () { return OnInit(); }
|
||||
virtual bool OSXIsGUIApplication () { return false; }
|
||||
#endif
|
||||
#endif
|
||||
virtual void InitSecurityTokenLibrary () const;
|
||||
virtual void ListTokenKeyfiles () const;
|
||||
|
||||
Reference in New Issue
Block a user