+
+#elif defined(__WXMSW__) && defined(WXUSINGDLL)
+
+// NT defines APIENTRY, 3.x not
+#if !defined(WXAPIENTRY)
+# ifdef __WATCOMC__
+# define WXAPIENTRY PASCAL
+# else
+# define WXAPIENTRY FAR PASCAL
+# endif
+#endif
+
+#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);\
+}
+