]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/wince/libraries.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / msw / wince / libraries.h
CommitLineData
eddb3250
VS
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/msw/wince/libraries.h
3// Purpose: VC++ pragmas for linking against SDK libs
4// Author: Vaclav Slavik
5// Modified by:
6// Created: 2004-04-11
eddb3250 7// Copyright: (c) 2004 Vaclav Slavik
65571936 8// Licence: wxWindows licence
eddb3250
VS
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_LIBRARIES_H_
12#define _WX_LIBRARIES_H_
13
39fc096d
WS
14// NB: According to Microsoft, it is up to the OEM to decide whether
15// some of libraries will be included in the system or not. For example,
eddb3250
VS
16// MS' STANDARDSDK does not include cyshell.lib and aygshell.lib, while
17// Pocket PC 2003 SDK does. We depend on some symbols that are in these
18// libraries in some SDKs and in different libs in others. Fortunately we
19// can detect what SDK is used in C++ code, so we take advantage of
20// VC++'s #pragma to link against the libraries conditionally, instead of
21// including libraries in project files.
22
9b141468 23#if defined(__VISUALC__) && defined(__WXWINCE__)
c1dfa9eb 24
43499aa4 25#if (_WIN32_WCE >= 400) || defined(__POCKETPC__)
c1dfa9eb
JS
26 // No commdlg.lib in Mobile 5.0 Smartphone
27#if !(defined(__SMARTPHONE__) && _WIN32_WCE >= 1200)
af51080d
VS
28 #pragma comment(lib,"commdlg.lib")
29#endif
c1dfa9eb 30#endif
af51080d 31
34dc0674
VZ
32// this library is only available for PocketPC targets using recent SDK and is
33// needed for RTTI support
18caa1e9 34#if (_WIN32_WCE >= 400) && !defined(__WINCE_NET__) && !defined(wxNO_RTTI)
7121be53
WS
35 #pragma comment(lib,"ccrtrtti.lib")
36#endif
37
a9928e9d 38#if defined(__WINCE_STANDARDSDK__)
eddb3250
VS
39 // DoDragDrop:
40 #pragma comment(lib,"olece400.lib")
34dc0674 41#elif defined(__POCKETPC__) || defined(__SMARTPHONE__) || defined(__WINCE_NET__)
eddb3250 42 #pragma comment(lib,"ceshell.lib")
af51080d 43 #pragma comment(lib,"aygshell.lib")
dcaf7c6e
RR
44#elif defined(__HANDHELDPC__)
45 // Handheld PC builds. Maybe WindowsCE.NET 4.X needs another symbol.
46 #pragma comment(lib,"ceshell.lib")
eddb3250
VS
47#else
48 #error "Unknown SDK, please fill-in missing pieces"
49#endif
50
9b141468 51#endif // __VISUALC__ && __WXWINCE__
eddb3250
VS
52
53#endif // _WX_LIBRARIES_H_