X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..a95dd1d8ff052f5a1d7278c635cb5885b2dc67d3:/src/palmos/main.cpp diff --git a/src/palmos/main.cpp b/src/palmos/main.cpp index df38c0718e..d1ca479472 100644 --- a/src/palmos/main.cpp +++ b/src/palmos/main.cpp @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: palmos/main.cpp +// Name: src/palmos/main.cpp // Purpose: wxEnter for Palm OS -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/07/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -28,8 +24,11 @@ #pragma hdrstop #endif -#include "wx/event.h" -#include "wx/app.h" +#ifndef WX_PRECOMP + #include "wx/event.h" + #include "wx/app.h" +#endif //WX_PRECOMP + #include "wx/cmdline.h" #if wxUSE_GUI @@ -44,7 +43,7 @@ int wxEntry() { - /* There is no command line in PalmOS. For now generate a fake arument + /* There is no command line in PalmOS. For now generate a fake arument * list. Later this may be changed to reflect the application launch code */ wxArrayString args; @@ -59,7 +58,7 @@ int wxEntry() // argv[] must be NULL-terminated argv[argc] = NULL; - + return wxEntry(argc, argv); }