]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/main.cpp
set m_isBeingDeleted to true (only) in SendDestroyEvent(); call it as early as possib...
[wxWidgets.git] / src / cocoa / main.cpp
index 2acb4871c487ec654bb17072d4646cd6efef6f9d..b84c2a5a916ecc41d37294573fd702b2f5b572fa 100644 (file)
@@ -1,19 +1,22 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        cocoa/main.cpp
+// Name:        src/cocoa/main.cpp
 // Purpose:     Entry point
 // Author:      David Elliott
 // Modified by:
 // Created:     2002/11/11
-// RCS-ID:      $Id:
+// RCS-ID:      $Id$
 // Copyright:   (c) 2002 David Elliott
-// Licence:    wxWindows license
+// Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 /* DFE: ^^^^^ Was that really necessary :-) */
 
-#include "wx/app.h"
+#include "wx/wxprec.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/app.h"
+#endif // WX_PRECOMP
 
 WXDLLEXPORT int main(int argc, char* argv[])
 {
-  return wxEntry(argc, argv);
+    return wxEntry(argc, argv);
 }
-