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

@@ -1810,6 +1810,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/msw/icon.h
wx/msw/imaglist.h
wx/msw/iniconf.h
wx/msw/init.h
wx/msw/listbox.h
wx/msw/listctrl.h
wx/msw/mdi.h

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

View File

@@ -4502,6 +4502,9 @@
RelativePath="..\..\include\wx\msw\iniconf.h">
</File>
<File
RelativePath="..\..\include\wx\msw\init.h">
</File>
<File
RelativePath="..\..\include\wx\msw\joystick.h">
</File>
<File

View File

@@ -6024,6 +6024,10 @@
>
</File>
<File
RelativePath="..\..\include\wx\msw\init.h"
>
</File>
<File
RelativePath="..\..\include\wx\msw\joystick.h"
>
</File>

View File

@@ -6020,6 +6020,10 @@
>
</File>
<File
RelativePath="..\..\include\wx\msw\init.h"
>
</File>
<File
RelativePath="..\..\include\wx\msw\joystick.h"
>
</File>