Add #IFDEF for OSX

This commit is contained in:
Armando Rivera 2013-11-10 16:06:54 -05:00
parent 9f4a7d4553
commit 5e60bb4ec2

View File

@ -50,7 +50,9 @@ FUNCTION BOOL MyApp::OnInit() DO
fName.Assign( wxT("book.htb") ); fName.Assign( wxT("book.htb") );
/* Dont exit immediately when app window is closed */ /* Dont exit immediately when app window is closed */
#ifdef __APPLE__
SetExitOnFrameDelete(false); SetExitOnFrameDelete(false);
#endif
/* Initialize all available image handlers */ /* Initialize all available image handlers */
wxInitAllImageHandlers(); wxInitAllImageHandlers();