added wxMSW-specific wxEntryStart() overload taking WinMain-like parameters

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-05-25 00:52:00 +00:00
parent 4dfbedd3f5
commit d76a558d4d
3 changed files with 80 additions and 25 deletions

View File

@@ -435,6 +435,15 @@ least the GUI part of) the library can't be used at all.
Notice that parameters \arg{argc} and \arg{argv} may be modified by this
function.
An additional overload of wxEntryStart() is provided under MSW only: it is
meant to be called with the parameters passed to \texttt{WinMain()}.
\func{bool}{wxEntryStart}{\param{HINSTANCE }{hInstance}, \param{HINSTANCE }{hPrevInstance = \NULL}, \param{char *}{pCmdLine = \NULL}, \param{int }{nCmdShow = \texttt{SW\_SHOWNORMAL}}}
(notice that under Windows CE platform, and only there, the type of
\arg{pCmdLine} is \texttt{wchar\_t *}, otherwise it is \texttt{char *}, even in
Unicode build).
\wxheading{Include files}
<wx/init.h>