Add #IFDEF for OSX
This commit is contained in:
parent
9f4a7d4553
commit
5e60bb4ec2
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user