From 5e60bb4ec2a5bf4153b13089abda1a7ff0d134c1 Mon Sep 17 00:00:00 2001 From: Armando Rivera Date: Sun, 10 Nov 2013 16:06:54 -0500 Subject: [PATCH] Add #IFDEF for OSX --- wx/help/help.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wx/help/help.cpp b/wx/help/help.cpp index 5746ce9..8ac6d84 100644 --- a/wx/help/help.cpp +++ b/wx/help/help.cpp @@ -50,7 +50,9 @@ FUNCTION BOOL MyApp::OnInit() DO fName.Assign( wxT("book.htb") ); /* Dont exit immediately when app window is closed */ - SetExitOnFrameDelete(false); + #ifdef __APPLE__ + SetExitOnFrameDelete(false); + #endif /* Initialize all available image handlers */ wxInitAllImageHandlers();