Define wxEntry() with WinMain-compatible signature for all Windows ports.

Make wxEntry(HINSTANCE, ...) available in wxGTK under Windows too.

Refactor the headers to allow this and extract Windows-specific wxEntry()
declarations in wx/msw/init.h from wx/msw/app.h for consistency with the
normal wxEntry(int, char**) declared in wx/init.h.

Closes #14423.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-06-30 16:33:28 +00:00
parent 327972e7b6
commit 26cdd42d2c
10 changed files with 119 additions and 78 deletions

View File

@@ -5240,6 +5240,10 @@ SOURCE=..\..\include\wx\msw\iniconf.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\msw\init.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\msw\joystick.h
# End Source File
# Begin Source File