]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/app.h
use WXDLLIMPEXP_GL instead of WXDLLEXPORT (which is for core, not gl, library)
[wxWidgets.git] / include / wx / msw / app.h
index c05d831790fa5890f8bee92749e0e7d277f1e55f..754dc8f39b9f582e7290cdb015da9a70f41b574a 100644 (file)
 #ifndef _WX_APP_H_
 #define _WX_APP_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "app.h"
-#endif
-
 #include "wx/event.h"
 #include "wx/icon.h"
 
@@ -100,6 +96,14 @@ protected:
     typedef char *wxCmdLineArgType;
 #endif
 
+// wxMSW-only overloads of wxEntry() and wxEntryStart() which take the
+// parameters passed to WinMain() instead of those passed to main()
+extern bool WXDLLEXPORT
+wxEntryStart(HINSTANCE hInstance,
+             HINSTANCE hPrevInstance = NULL,
+             wxCmdLineArgType pCmdLine = NULL,
+             int nCmdShow = SW_SHOWNORMAL);
+
 extern int WXDLLEXPORT
 wxEntry(HINSTANCE hInstance,
         HINSTANCE hPrevInstance = NULL,