From 4a8040735b800ec016c1a7e24292e24579dbabd8 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 6 Apr 2015 18:58:47 +0200 Subject: MacOSX: Correctly handle OSX dock "reopen-application" event and Cocoa openFiles message instead of the deprecated Carbon "open-document" event --- src/Main/GraphicUserInterface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Main/GraphicUserInterface.h') diff --git a/src/Main/GraphicUserInterface.h b/src/Main/GraphicUserInterface.h index f2ae5e69..7edea984 100644 --- a/src/Main/GraphicUserInterface.h +++ b/src/Main/GraphicUserInterface.h @@ -94,7 +94,8 @@ namespace VeraCrypt void ExecuteWaitThreadRoutine (wxWindow *parent, WaitThreadRoutine *pRoutine) const; #ifdef TC_MACOSX - virtual void MacOpenFile (const wxString &fileName); + virtual void MacOpenFiles (const wxArrayString &fileNames); + virtual void MacReopenApp (); #endif template -- cgit v1.2.3