X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1dc9f8394c1488ad8e7d945e6f943f7b34554ce..e7e97a594def45262e1a46a4b4089d3d9305c311:/include/wx/msw/app.h diff --git a/include/wx/msw/app.h b/include/wx/msw/app.h index d43d6a20cb..ba8a192543 100644 --- a/include/wx/msw/app.h +++ b/include/wx/msw/app.h @@ -15,11 +15,11 @@ #include "wx/event.h" #include "wx/icon.h" -class WXDLLIMPEXP_CORE wxFrame; -class WXDLLIMPEXP_CORE wxWindow; -class WXDLLIMPEXP_CORE wxApp; -class WXDLLIMPEXP_CORE wxKeyEvent; -class WXDLLIMPEXP_BASE wxLog; +class WXDLLIMPEXP_FWD_CORE wxFrame; +class WXDLLIMPEXP_FWD_CORE wxWindow; +class WXDLLIMPEXP_FWD_CORE wxApp; +class WXDLLIMPEXP_FWD_CORE wxKeyEvent; +class WXDLLIMPEXP_FWD_BASE wxLog; // Represents the application. Derive OnInit and declare // a new App object to start application @@ -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,