X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eccd1992237c9b8bbe02a9eda66b709fd7ecea73..39c0acb66674c5e0424633cf162e6c10c92178d4:/src/msw/utils.cpp?ds=inline diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 8e5fab3265..89c2b89a0b 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -922,7 +922,7 @@ bool wxShutdown(wxShutdownFlags wFlags) return FALSE; } - bOK = ::ExitWindowsEx(EWX_SHUTDOWN | EWX_FORCE | EWX_REBOOT, 0) != 0; + bOK = ::ExitWindowsEx(flags, 0) != 0; } return bOK; @@ -1244,7 +1244,7 @@ extern long wxCharsetToCodepage(const wxChar *name) NULL. classname is the desired wndclass classname. If function succesfully registers the class, pclassname will be set to classname. */ -extern "C" HWND +extern "C" WXDLLIMPEXP_BASE HWND wxCreateHiddenWindow(LPCTSTR *pclassname, LPCTSTR classname, WNDPROC wndproc) { wxCHECK_MSG( classname && pclassname && wndproc, NULL,