#include "wx/event.h"
#include "wx/app.h"
-#include "wx/init.h"
#include "wx/cmdline.h"
#include "wx/msw/private.h"
#if !defined(_WINDLL)
+#ifdef __WXWINCE__
+int WINAPI WinMain(HINSTANCE hInstance,
+ HINSTANCE hPrevInstance,
+ LPWSTR lpCmdLine,
+ int nCmdShow)
+{
+ return wxEntry(hInstance, hPrevInstance, (char*) lpCmdLine, nCmdShow);
+}
+#else
int PASCAL WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
{
return wxEntry(hInstance, hPrevInstance, lpCmdLine, nCmdShow);
}
+#endif
#else // _WINDLL