]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/main.cpp
Added CallOnInit() which allows the toolkit (wxCocoa) to do a bit of
[wxWidgets.git] / src / msw / main.cpp
index dc59e37587095629968692e6f7f391e3adb74362..6ad79060fc1bbd96b8d80f0d294db452fe2312e7 100644 (file)
@@ -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);