X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4431849b4f2097edf0e01c5d50bf0ed947befa9..e10972f6c1436a6dcd5427b4e3913bb0f398e045:/include/wx/init.h diff --git a/include/wx/init.h b/include/wx/init.h index 90304ef918..974a5a7266 100644 --- a/include/wx/init.h +++ b/include/wx/init.h @@ -53,6 +53,12 @@ extern int WXDLLIMPEXP_BASE wxEntry(int& argc, char **argv); #endif// wxUSE_UNICODE +// Under Windows we define additional wxEntry() overloads with signature +// compatible with WinMain() and not the traditional main(). +#if wxUSE_GUI && defined(__WINDOWS__) + #include "wx/msw/init.h" +#endif + // ---------------------------------------------------------------------------- // Using the library without (explicit) application object: you may avoid using // wxDECLARE_APP and wxIMPLEMENT_APP macros and call the functions below instead at