From: Vadim Zeitlin Date: Mon, 7 Jul 2003 11:48:22 +0000 (+0000) Subject: added wxEntry(char **) declaration X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0acfb5bd66009d319f0d8e02c5d0d02460af200f?ds=inline added wxEntry(char **) declaration git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/init.h b/include/wx/init.h index 7fe4515597..72c93e471e 100644 --- a/include/wx/init.h +++ b/include/wx/init.h @@ -44,6 +44,13 @@ extern void WXDLLIMPEXP_BASE wxEntryCleanup(); // returns the program exit code extern int WXDLLIMPEXP_BASE wxEntry(int& argc, wxChar **argv); +// we overload wxEntry[Start]() to take "char **" pointers too +#if wxUSE_UNICODE + +extern bool wxEntryStart(int& argc, char **argv); +extern int wxEntry(int& argc, char **argv); + +#endif// wxUSE_UNICODE // ---------------------------------------------------------------------------- // Using the library without (explicit) application object: you may avoid using