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

@@ -96,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,