/////////////////////////////////////////////////////////////////////////////
-// Name: msw/main.cpp
+// Name: src/msw/main.cpp
// Purpose: WinMain/DllMain
// Author: Julian Smart
// Modified by:
#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"
{
static const wchar_t *ERROR_STRING = L"wxWidgets Fatal Error";
- if ( wxGetOsVersion() != wxWINDOWS_NT )
+ if ( wxGetOsVersion() != wxOS_WINDOWS_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
}
#endif // wxUSE_BASE
-