diff --git a/src/msw/main.cpp b/src/msw/main.cpp index dc59e37587..6ad79060fc 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -68,10 +68,10 @@ static wxChar **ConvertToStandardCommandArgs(const wxChar *p, int& argc); // Windows-specific wxEntry // ---------------------------------------------------------------------------- -int wxEntry(HINSTANCE hInstance, - HINSTANCE WXUNUSED(hPrevInstance), - char *pCmdLine, - int nCmdShow) +WXDLLEXPORT int wxEntry(HINSTANCE hInstance, + HINSTANCE WXUNUSED(hPrevInstance), + char *pCmdLine, + int nCmdShow) { // remember the parameters Windows gave us wxSetInstance(hInstance);