1 /////////////////////////////////////////////////////////////////////////////
2 // Name: msw/wince/wince.cpp
3 // Purpose: Main/DllMain
4 // Author: Marco Cavallini
8 // Copyright: (c) KOAN SAS ( www.koansoftware.com )
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 // For compilers that support precompilation, includes "wx.h".
13 #include "wx/wxprec.h"
15 /* I don't remember why This does not work under emulation
16 #ifdef _WIN32_WCE_EMULATION
17 #error 'This does not work under emulation'
21 /////////////////////////////////
23 The hardware is identified by platform specific defines
; usually of the form
24 WCE_PLATFORM_XXXX where XXXX is the name of the platform
. Pocket PCs use the
25 older Palm Size PC define WIN32_PLATFORM_PSPC which has a value
for the
26 version number of the platform
. A Pocket PC
2002 device build can be
29 #if defined(WIN32_PLATFORM_PSPC) && WIN32_PLATFORM_PSPC == 310
30 // Put Pocket PC 2002 specific code here...
33 #if defined(_WIN32_WCE)
34 #pragma message("\t wxWindows Target: WINDOWS CE")
35 // #include <windows.h>
39 #if defined (_WIN32_WCE)
41 #pragma message("\t WINDOWS-CE 3.00")
42 #elif _WIN32_WCE == 310
43 #pragma message("\t WINDOWS-CE 3.10")
49 #if defined(_WIN32_WCE)
50 #pragma message("\t wxWindows Target: WINDOWS CE")
54 #if !defined(_WIN32_WCE) && defined(_WIN32)
55 #pragma message("\t wxWindows Target: WINDOWS 32")
60 #pragma message("\t wxWindows Target: LINUX GNU")
65 /////////////////////////////////
66 // Peform some macro test
67 /////////////////////////////////
70 #if defined(__WXMSW__)
71 #pragma message("\t CE : __WXMSW__")
72 #elif defined(__WXWINCE__)
73 #pragma message("\t CE : __WXWINCE__")
74 #elif defined(__WXMOTIF__)
75 #pragma message("\t CE : __WXMOTIF__")
76 #elif defined(__WXMGL__)
77 #pragma message("\t CE : __WXMGL__")
78 #elif defined(__WXGTK__)
79 #pragma message("\t CE : __WXGTK__")
80 #elif defined(__WXX11__)
81 #pragma message("\t CE : __WXX11__")
82 #elif defined(__WXMAC__)
83 #pragma message("\t CE : __WXMAC__")
84 #elif defined(__WXPM__)
85 #pragma message("\t CE : __WXPM__")
86 #elif defined(__WXSTUBS__)
87 #pragma message("\t CE : __WXSTUBS__")