X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8792cb7340578959c3d687fad26d89864873cf7c..129b8b1a215fc1fcc1b9f06daa0aeaf22bbce614:/src/msw/mslu.cpp
diff --git a/src/msw/mslu.cpp b/src/msw/mslu.cpp
index a484b58656..064b8744dc 100644
--- a/src/msw/mslu.cpp
+++ b/src/msw/mslu.cpp
@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
-// Name: msw/mslu.cpp
+// Name: src/msw/mslu.cpp
// Purpose: Fixes for bugs in MSLU
// Author: Vaclav Slavik
// Modified by:
@@ -13,12 +13,11 @@
#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
-#include
+ #pragma hdrstop
+ #include
#endif
#ifndef WX_PRECOMP
- #include "wx/defs.h"
#include "wx/utils.h"
#endif
@@ -31,7 +30,7 @@
bool WXDLLIMPEXP_BASE wxUsingUnicowsDll()
{
#if wxUSE_UNICODE_MSLU
- return (wxGetOsVersion() == wxWIN95);
+ return (wxGetOsVersion() == wxOS_WINDOWS_9X);
#else
return false;
#endif
@@ -66,7 +65,7 @@ bool WXDLLIMPEXP_BASE wxUsingUnicowsDll()
#include
#endif
-// Undef redirection macros defined in wx/msw/mslu.h:
+// Undef redirection macros defined in wx/msw/wrapwin.h:
#undef DrawStateW
#undef GetOpenFileNameW
#undef GetSaveFileNameW
@@ -121,7 +120,7 @@ static void wxFixOPENFILENAME(LPOPENFILENAME ofn)
ofn->nFileOffset = wxStrlen(ofn->lpstrFile)+1;
}
}
-#endif
+#endif // OFN_EXPLORER
}
WXDLLEXPORT int wxMSLU_GetOpenFileNameW(void *ofn)
@@ -223,7 +222,7 @@ WXDLLIMPEXP_BASE int wxMSLU__wstat(const wxChar *name, struct _stat *buffer)
}
#ifdef __BORLANDC__
-//here _stati64 is defined as stati64, see msw/mslu.h line 62
+//here _stati64 is defined as stati64, see wx/filefn.h
#undef _stati64
WXDLLIMPEXP_BASE int wxMSLU__wstati64(const wxChar *name, struct _stati64 *buffer)
{