X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39ea2103cdaadd61974b9746cac2315183ef6720..c259ffdff79ed1cb412cc829a19558064ce87474:/src/msw/main.cpp diff --git a/src/msw/main.cpp b/src/msw/main.cpp index c86c0909eb..68061d70f3 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: msw/main.cpp +// Name: src/msw/main.cpp // Purpose: WinMain/DllMain // Author: Julian Smart // Modified by: @@ -24,8 +24,11 @@ #pragma hdrstop #endif -#include "wx/event.h" -#include "wx/app.h" +#ifndef WX_PRECOMP + #include "wx/event.h" + #include "wx/app.h" +#endif //WX_PRECOMP + #include "wx/cmdline.h" #include "wx/scopeguard.h" @@ -247,7 +250,7 @@ static bool wxIsUnicodeAvailable() if ( wxGetOsVersion() != wxWINDOWS_NT ) { // we need to be built with MSLU support -#if !wxUSE_UNICODE_MSLU +#if !wxUSE_UNICODE_MSLU // note that we can use MessageBoxW() as it's implemented even under // Win9x - OTOH, we can't use wxGetTranslation() because the file APIs // used by wxLocale are not @@ -403,4 +406,3 @@ void wxSetInstance(HINSTANCE hInst) } #endif // wxUSE_BASE -