]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/libraries.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / msw / libraries.h
index 20805529d037e34ee072070a4b01f39df7527304..9173fe812593920aaf66420b99376f15a71e7762 100644 (file)
@@ -1,20 +1,27 @@
-/////////////////////////////////////////////////////////////////////////////
-// Name:        wx/msw/libraries.h
-// Purpose:     Pragmas for linking libs conditionally
-// Author:      Michael Wetherell
-// Modified by:
-// RCS-ID:      $Id$
-// Copyright:   (c) 2005 Michael Wetherell
-// Licence:     wxWindows licence
-/////////////////////////////////////////////////////////////////////////////
+/*
+ * Name:        wx/msw/libraries.h
+ * Purpose:     Pragmas for linking libs conditionally
+ * Author:      Michael Wetherell
+ * Modified by:
+ * RCS-ID:      $Id$
+ * Copyright:   (c) 2005 Michael Wetherell
+ * Licence:     wxWindows licence
+ */
 
 #ifndef _WX_MSW_LIBRARIES_H_
 #define _WX_MSW_LIBRARIES_H_
 
 
 #ifndef _WX_MSW_LIBRARIES_H_
 #define _WX_MSW_LIBRARIES_H_
 
-// Notes:
-//
-// In general the preferred place to add libs is in the bakefiles. This file
-// can be used where libs must be added conditionally, for those compilers that
-// support a way to do that.
+/*
+ * Notes:
+ *
+ * In general the preferred place to add libs is in the bakefiles. This file
+ * can be used where libs must be added conditionally, for those compilers that
+ * support a way to do that.
+ */
 
 
-#endif // _WX_MSW_LIBRARIES_H_
+/* VC++ 5 didn't include oleacc.lib, though it came with the PSDK */
+#if defined __VISUALC__ && (wxUSE_ACCESSIBILITY || __VISUALC__ >= 1200)
+#pragma comment(lib, "oleacc")
+#endif
+
+#endif /* _WX_MSW_LIBRARIES_H_ */