X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4a12e485bd5baad8e14ec963b75586d2ee745c7..a7f8eb6d0fe67f96eb6b7e3a88ba27d80756162b:/include/wx/msw/libraries.h diff --git a/include/wx/msw/libraries.h b/include/wx/msw/libraries.h index 20805529d0..9173fe8125 100644 --- a/include/wx/msw/libraries.h +++ b/include/wx/msw/libraries.h @@ -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_ -// 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_ */