Define wxEntry() with WinMain-compatible signature for all Windows ports.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Jun 2012 16:33:28 +0000 (16:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Jun 2012 16:33:28 +0000 (16:33 +0000)
commit26cdd42d2cbd99d23159ae4b4d41ae93ed23317c
tree1fd70403c1fcec270d846e58ae24d0ebe3ff0096
parent327972e7b61eed1feb5a306c816541c2e0d2d301
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
Makefile.in
build/bakefiles/files.bkl
build/msw/wx_core.dsp
build/msw/wx_vc7_core.vcproj
build/msw/wx_vc8_core.vcproj
build/msw/wx_vc9_core.vcproj
include/wx/init.h
include/wx/msw/app.h
include/wx/msw/init.h [new file with mode: 0644]
src/msw/main.cpp