- {\
- return wxEntry((WXHINSTANCE) hInstance, \
- (WXHINSTANCE) hPrevInstance,\
- m_lpCmdLine, nCmdShow);\
- }
-
+ {\
+ return wxEntry((WXHINSTANCE) hInstance, \
+ (WXHINSTANCE) hPrevInstance,\
+ m_lpCmdLine, nCmdShow);\
+ }
+ #else
+ #define IMPLEMENT_WXWIN_MAIN \
+ int WXAPIENTRY WinMain(HINSTANCE hInstance, \
+ HINSTANCE hPrevInstance,\
+ LPSTR m_lpCmdLine, int nCmdShow )\
+ {\
+ return wxEntry((WXHINSTANCE) hInstance, \
+ (WXHINSTANCE) hPrevInstance,\
+ m_lpCmdLine, nCmdShow);\
+ }
+ #endif