Fixes for WinCE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-08-25 14:10:25 +00:00
parent 71da8cffa1
commit 9ce43bfae9
3 changed files with 11 additions and 3 deletions

View File

@@ -604,11 +604,17 @@ public:
// we need HINSTANCE declaration to define WinMain()
#include "wx/msw/wrapwin.h"
#ifdef SW_SHOWNORMAL
#define wxSW_SHOWNORMAL SW_SHOWNORMAL
#else
#define wxSW_SHOWNORMAL 0
#endif
#define IMPLEMENT_WXWIN_MAIN \
extern int wxEntry(HINSTANCE hInstance, \
HINSTANCE hPrevInstance = NULL, \
char *pCmdLine = NULL, \
int nCmdShow = SW_NORMAL); \
int nCmdShow = wxSW_SHOWNORMAL); \
extern "C" int WINAPI WinMain(HINSTANCE hInstance, \
HINSTANCE hPrevInstance, \
char *lpCmdLine, \