X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/35c49c4bb69dff63fef3e9fc1dbe0d2ae4ba9583..ac9a3c615a1d8eec589d2d0de7286f6d676f1693:/include/wx/app.h diff --git a/include/wx/app.h b/include/wx/app.h index 3698f65a09..a2e3d03c59 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -593,7 +593,7 @@ public: #if !wxUSE_GUI || !defined(__WXMSW__) #define IMPLEMENT_WXWIN_MAIN \ int main(int argc, char **argv) { return wxEntry(argc, argv); } -#elif defined(__WXMSW__) && defined(WXUSINGDLL) +#elif defined(__WXMSW__) // we need HINSTANCE declaration to define WinMain() #include "wx/msw/wrapwin.h"