X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4431849b4f2097edf0e01c5d50bf0ed947befa9..616c0d1f3ac084bb92f0a75dc48812e8647f1b22:/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