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