/////////////////////////////////////////////////////////////////////////////
-// Name: app.h
+// Name: wx/palmos/app.h
// Purpose: wxApp class
-// Author: William Osborne
+// Author: William Osborne - minimal working wxPalmOS port
// Modified by:
// Created: 10/17/04
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) William Osborne
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
wxEntry();
#define IMPLEMENT_WXWIN_MAIN \
+ \
+ extern "C" { \
+ \
uint32_t PilotMain(uint16_t cmd, MemPtr cmdPBP, uint16_t launchFlags) \
{ \
switch (cmd) { \
- case sysAppLaunchCmdNormalLaunch: \
+ case 0 /* sysAppLaunchCmdNormalLaunch */ : \
wxEntry(); \
break; \
default: \
break; \
} \
- return errNone; \
+ return 0 /* errNone */ ; \
+ } \
+ \
}
#endif // _WX_APP_H_