]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/missing.h
Add wxMenuItem::IsCheck() and IsRadio() accessors.
[wxWidgets.git] / include / wx / msw / missing.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/missing.h
3 // Purpose: Declarations for parts of the Win32 SDK that are missing in
4 // the versions that come with some compilers
5 // Created: 2002/04/23
6 // RCS-ID: $Id$
7 // Copyright: (c) 2002 Mattia Barbon
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_MISSING_H_
12 #define _WX_MISSING_H_
13
14 /*
15 * The following are required for VC++ 6.
16 */
17
18 // Needed by cursor.cpp
19 #ifndef IDC_HAND
20 #define IDC_HAND MAKEINTRESOURCE(32649)
21 #endif
22
23 // Needed by strconv.cpp
24 #ifndef WC_NO_BEST_FIT_CHARS
25 #define WC_NO_BEST_FIT_CHARS 0x400
26 #endif
27
28 #ifndef WM_CONTEXTMENU
29 #define WM_CONTEXTMENU 0x007B
30 #endif
31
32 #ifndef WM_CHANGEUISTATE
33 #define WM_CHANGEUISTATE 0x0127
34 #endif
35
36 #ifndef WM_UPDATEUISTATE
37 #define WM_UPDATEUISTATE 0x0128
38 #endif
39
40 #ifndef WM_QUERYUISTATE
41 #define WM_QUERYUISTATE 0x0129
42 #endif
43
44 #ifndef WM_PRINTCLIENT
45 #define WM_PRINTCLIENT 0x318
46 #endif
47
48 #ifndef DT_HIDEPREFIX
49 #define DT_HIDEPREFIX 0x00100000
50 #endif
51
52 // Needed by toplevel.cpp
53 #ifndef UIS_SET
54 #define UIS_SET 1
55 #define UIS_CLEAR 2
56 #define UIS_INITIALIZE 3
57 #endif
58
59 #ifndef UISF_HIDEFOCUS
60 #define UISF_HIDEFOCUS 1
61 #endif
62
63 #ifndef UISF_HIDEACCEL
64 #define UISF_HIDEACCEL 2
65 #endif
66
67 #ifndef OFN_EXPLORER
68 #define OFN_EXPLORER 0x00080000
69 #endif
70
71 #ifndef OFN_ENABLESIZING
72 #define OFN_ENABLESIZING 0x00800000
73 #endif
74
75 // Needed by window.cpp
76 #if wxUSE_MOUSEWHEEL
77 #ifndef WM_MOUSEWHEEL
78 #define WM_MOUSEWHEEL 0x020A
79 #endif
80 #ifndef WM_MOUSEHWHEEL
81 #define WM_MOUSEHWHEEL 0x020E
82 #endif
83 #ifndef WHEEL_DELTA
84 #define WHEEL_DELTA 120
85 #endif
86 #ifndef SPI_GETWHEELSCROLLLINES
87 #define SPI_GETWHEELSCROLLLINES 104
88 #endif
89 #ifndef SPI_GETWHEELSCROLLCHARS
90 #define SPI_GETWHEELSCROLLCHARS 108
91 #endif
92 #endif // wxUSE_MOUSEWHEEL
93
94 // Needed by window.cpp
95 #ifndef VK_OEM_1
96 #define VK_OEM_1 0xBA
97 #define VK_OEM_2 0xBF
98 #define VK_OEM_3 0xC0
99 #define VK_OEM_4 0xDB
100 #define VK_OEM_5 0xDC
101 #define VK_OEM_6 0xDD
102 #define VK_OEM_7 0xDE
103 #define VK_OEM_102 0xE2
104 #endif
105
106 #ifndef VK_OEM_COMMA
107 #define VK_OEM_PLUS 0xBB
108 #define VK_OEM_COMMA 0xBC
109 #define VK_OEM_MINUS 0xBD
110 #define VK_OEM_PERIOD 0xBE
111 #endif
112
113 #ifndef SM_TABLETPC
114 #define SM_TABLETPC 86
115 #endif
116
117 #ifndef INKEDIT_CLASS
118 # define INKEDIT_CLASSW L"INKEDIT"
119 # ifdef UNICODE
120 # define INKEDIT_CLASS INKEDIT_CLASSW
121 # else
122 # define INKEDIT_CLASS "INKEDIT"
123 # endif
124 #endif
125
126 #ifndef EM_SETINKINSERTMODE
127 # define EM_SETINKINSERTMODE (WM_USER + 0x0204)
128 #endif
129
130 #ifndef EM_SETUSEMOUSEFORINPUT
131 #define EM_SETUSEMOUSEFORINPUT (WM_USER + 0x224)
132 #endif
133
134 #ifndef TPM_RECURSE
135 #define TPM_RECURSE 1
136 #endif
137
138
139 #ifndef WS_EX_LAYOUTRTL
140 #define WS_EX_LAYOUTRTL 0x00400000
141 #endif
142
143 #ifndef WS_EX_COMPOSITED
144 #define WS_EX_COMPOSITED 0x02000000L
145 #endif
146
147 #ifndef WS_EX_LAYERED
148 #define WS_EX_LAYERED 0x00080000
149 #endif
150
151 #ifndef LWA_ALPHA
152 #define LWA_ALPHA 2
153 #endif
154
155 #ifndef QS_ALLPOSTMESSAGE
156 #define QS_ALLPOSTMESSAGE 0
157 #endif
158
159 /*
160 * The following are required for VC++ 5 when the PSDK is not available.
161 */
162
163 #if defined __VISUALC__ && __VISUALC__ <= 1100
164
165 #ifndef VER_NT_WORKSTATION
166
167 typedef struct _OSVERSIONINFOEXA {
168 DWORD dwOSVersionInfoSize;
169 DWORD dwMajorVersion;
170 DWORD dwMinorVersion;
171 DWORD dwBuildNumber;
172 DWORD dwPlatformId;
173 CHAR szCSDVersion[128];
174 WORD wServicePackMajor;
175 WORD wServicePackMinor;
176 WORD wSuiteMask;
177 BYTE wProductType;
178 BYTE wReserved;
179 } OSVERSIONINFOEXA, *POSVERSIONINFOEXA, *LPOSVERSIONINFOEXA;
180 typedef struct _OSVERSIONINFOEXW {
181 DWORD dwOSVersionInfoSize;
182 DWORD dwMajorVersion;
183 DWORD dwMinorVersion;
184 DWORD dwBuildNumber;
185 DWORD dwPlatformId;
186 WCHAR szCSDVersion[128];
187 WORD wServicePackMajor;
188 WORD wServicePackMinor;
189 WORD wSuiteMask;
190 BYTE wProductType;
191 BYTE wReserved;
192 } OSVERSIONINFOEXW, *POSVERSIONINFOEXW, *LPOSVERSIONINFOEXW;
193
194 #ifdef UNICODE
195 typedef OSVERSIONINFOW OSVERSIONINFO,*POSVERSIONINFO,*LPOSVERSIONINFO;
196 typedef OSVERSIONINFOEXW OSVERSIONINFOEX,*POSVERSIONINFOEX,*LPOSVERSIONINFOEX;
197 #else
198 typedef OSVERSIONINFOA OSVERSIONINFO,*POSVERSIONINFO,*LPOSVERSIONINFO;
199 typedef OSVERSIONINFOEXA OSVERSIONINFOEX,*POSVERSIONINFOEX,*LPOSVERSIONINFOEX;
200 #endif
201
202 #endif // defined VER_NT_WORKSTATION
203
204 #ifndef CP_SYMBOL
205 #define CP_SYMBOL 42
206 #endif
207
208 // NMLVCUSTOMDRAW originally didn't have the iSubItem member. It was added
209 // with IE4, as was IPN_FIRST which is used as a test :-(.
210 //
211 #ifndef IPN_FIRST
212
213 typedef struct wxtagNMLVCUSTOMDRAW_ {
214 NMCUSTOMDRAW nmcd;
215 COLORREF clrText;
216 COLORREF clrTextBk;
217 int iSubItem;
218 } wxNMLVCUSTOMDRAW_, *wxLPNMLVCUSTOMDRAW_;
219
220 #define NMLVCUSTOMDRAW wxNMLVCUSTOMDRAW_
221 #define LPNMLVCUSTOMDRAW wxLPNMLVCUSTOMDRAW_
222
223 #endif // defined IPN_FIRST
224
225 #endif // defined __VISUALC__ && __VISUALC__ <= 1100
226
227 // ----------------------------------------------------------------------------
228 // menu stuff
229 // ----------------------------------------------------------------------------
230
231 #ifndef MIIM_BITMAP
232 #define MIIM_STRING 0x00000040
233 #define MIIM_BITMAP 0x00000080
234 #define MIIM_FTYPE 0x00000100
235 #define HBMMENU_CALLBACK ((HBITMAP) -1)
236
237 typedef struct tagMENUINFO
238 {
239 DWORD cbSize;
240 DWORD fMask;
241 DWORD dwStyle;
242 UINT cyMax;
243 HBRUSH hbrBack;
244 DWORD dwContextHelpID;
245 DWORD dwMenuData;
246 } MENUINFO, FAR *LPMENUINFO;
247 #endif // MIIM_BITMAP &c
248
249 // ----------------------------------------------------------------------------
250 // definitions related to ListView and Header common controls, needed by
251 // msw/listctrl.cpp and msw/headerctrl.cpp
252 // ----------------------------------------------------------------------------
253
254 #ifndef I_IMAGENONE
255 #define I_IMAGENONE (-2)
256 #endif
257
258 #ifndef LVS_EX_FULLROWSELECT
259 #define LVS_EX_FULLROWSELECT 0x00000020
260 #endif
261
262 // LVS_EX_LABELTIP is not supported by Windows CE, don't define it there
263 #if !defined(LVS_EX_LABELTIP) && !defined(__WXWINCE__)
264 #define LVS_EX_LABELTIP 0x00004000
265 #endif
266
267 #ifndef LVS_EX_SUBITEMIMAGES
268 #define LVS_EX_SUBITEMIMAGES 0x00000002
269 #endif
270
271 #ifndef HDN_GETDISPINFOW
272 #define HDN_GETDISPINFOW (HDN_FIRST-29)
273 #endif
274
275 #ifndef HDS_HOTTRACK
276 #define HDS_HOTTRACK 4
277 #endif
278 #ifndef HDS_FLAT
279 #define HDS_FLAT 0x0200
280 #endif
281
282 #ifndef HDF_SORTUP
283 #define HDF_SORTUP 0x0400
284 #define HDF_SORTDOWN 0x0200
285 #endif
286
287 /*
288 * In addition to the above, the following are required for several compilers.
289 */
290
291 #if !defined(CCS_VERT)
292 #define CCS_VERT 0x00000080L
293 #endif
294
295 #if !defined(CCS_RIGHT)
296 #define CCS_RIGHT (CCS_VERT|CCS_BOTTOM)
297 #endif
298
299 #if !defined(TB_SETDISABLEDIMAGELIST)
300 #define TB_SETDISABLEDIMAGELIST (WM_USER + 54)
301 #endif // !defined(TB_SETDISABLEDIMAGELIST)
302
303 #ifndef CFM_BACKCOLOR
304 #define CFM_BACKCOLOR 0x04000000
305 #endif
306
307 #ifndef HANGUL_CHARSET
308 #define HANGUL_CHARSET 129
309 #endif
310
311 #ifndef CCM_SETUNICODEFORMAT
312 #define CCM_SETUNICODEFORMAT 8197
313 #endif
314
315 // ----------------------------------------------------------------------------
316 // Tree control
317 // ----------------------------------------------------------------------------
318
319 #ifndef TV_FIRST
320 #define TV_FIRST 0x1100
321 #endif
322
323 #ifndef TVS_FULLROWSELECT
324 #define TVS_FULLROWSELECT 0x1000
325 #endif
326
327 #ifndef TVM_SETBKCOLOR
328 #define TVM_SETBKCOLOR (TV_FIRST + 29)
329 #define TVM_SETTEXTCOLOR (TV_FIRST + 30)
330 #endif
331
332 /*
333 * The following are required for BC++ 5.5 (none at present.)
334 */
335
336 /*
337 * The following are specifically required for Digital Mars C++
338 */
339
340 #ifdef __DMC__
341
342 #ifndef VER_NT_WORKSTATION
343 typedef struct _OSVERSIONINFOEX {
344 DWORD dwOSVersionInfoSize;
345 DWORD dwMajorVersion;
346 DWORD dwMinorVersion;
347 DWORD dwBuildNumber;
348 DWORD dwPlatformId;
349 TCHAR szCSDVersion[ 128 ];
350 WORD wServicePackMajor;
351 WORD wServicePackMinor;
352 WORD wSuiteMask;
353 BYTE wProductType;
354 BYTE wReserved;
355 } OSVERSIONINFOEX;
356 #endif // !defined(VER_NT_WORKSTATION)
357
358 #ifndef _TrackMouseEvent
359 #define _TrackMouseEvent TrackMouseEvent
360 #endif
361
362 #ifndef LVM_SETEXTENDEDLISTVIEWSTYLE
363 #define LVM_SETEXTENDEDLISTVIEWSTYLE (0x1000 + 54)
364 #endif
365
366 #ifndef LVM_GETSUBITEMRECT
367 #define LVM_GETSUBITEMRECT (0x1000 + 56)
368 #endif
369
370 #ifndef LVCF_IMAGE
371 #define LVCF_IMAGE 0x0010
372 #endif
373
374 #ifndef Header_GetItemRect
375 #define Header_GetItemRect(w,i,r) \
376 (BOOL)SendMessage((w),HDM_GETITEMRECT,(WPARAM)(i),(LPARAM)(r))
377 #endif
378
379 #ifndef HDM_GETITEMRECT
380 #define HDM_GETITEMRECT (HDM_FIRST+7)
381 #endif
382
383 #ifndef ListView_GetHeader
384 #define ListView_GetHeader(w) (HWND)SendMessage((w),LVM_GETHEADER,0,0)
385 #endif
386
387 #ifndef ListView_GetSubItemRect
388 #define ListView_GetSubItemRect(w, i, s, c, p) (HWND)SendMessage(w,LVM_GETSUBITEMRECT,i, ((p) ? ((((LPRECT)(p))->top = s), (((LPRECT)(p))->left = c), (LPARAM)(p)) : (LPARAM)(LPRECT)NULL))
389 #endif
390
391 #ifndef LVM_GETHEADER
392 #define LVM_GETHEADER (LVM_FIRST+31)
393 #endif
394
395 #ifndef HDLAYOUT
396 #define HDLAYOUT HD_LAYOUT
397 #endif
398
399 #ifndef HDITEM
400 #define HDITEM HD_ITEM
401 #endif
402
403 #ifndef NMHEADER
404 #define NMHEADER HD_NOTIFY
405 #endif
406
407 #ifndef HDS_DRAGDROP
408 #define HDS_DRAGDROP 0x0040
409 #endif
410 #ifndef HDS_FULLDRAG
411 #define HDS_FULLDRAG 0x0080
412 #endif
413
414
415 #ifndef HDN_BEGINDRAG
416 #define HDN_BEGINDRAG (HDN_FIRST - 11)
417 #endif
418
419 #ifndef HDN_ENDDRAG
420 #define HDN_ENDDRAG (HDN_FIRST - 10)
421 #endif
422
423 #ifndef LVSICF_NOSCROLL
424 #define LVSICF_NOINVALIDATEALL 0x0001
425 #define LVSICF_NOSCROLL 0x0002
426 #endif
427
428 #ifndef CP_SYMBOL
429 #define CP_SYMBOL 42
430 #endif
431
432 // ----------------------------------------------------------------------------
433 // wxDisplay
434 // ----------------------------------------------------------------------------
435
436 // The windows headers with Digital Mars lack some typedefs.
437 // typedef them as my_XXX and then #define to rename to XXX in case
438 // a newer version of Digital Mars fixes the headers
439 // (or up to date PSDK is in use with older version)
440 // also we use any required definition (MONITOR_DEFAULTTONULL) to recognize
441 // whether whole missing block needs to be included
442
443 #ifndef MONITOR_DEFAULTTONULL
444
445 #define HMONITOR_DECLARED
446 DECLARE_HANDLE(HMONITOR);
447 typedef BOOL(CALLBACK* my_MONITORENUMPROC)(HMONITOR,HDC,LPRECT,LPARAM);
448 #define MONITORENUMPROC my_MONITORENUMPROC
449 typedef struct my_tagMONITORINFO {
450 DWORD cbSize;
451 RECT rcMonitor;
452 RECT rcWork;
453 DWORD dwFlags;
454 } my_MONITORINFO,*my_LPMONITORINFO;
455 #define MONITORINFO my_MONITORINFO
456 #define LPMONITORINFO my_LPMONITORINFO
457
458 typedef struct my_MONITORINFOEX : public my_tagMONITORINFO
459 {
460 TCHAR szDevice[CCHDEVICENAME];
461 } my_MONITORINFOEX, *my_LPMONITORINFOEX;
462 #define MONITORINFOEX my_MONITORINFOEX
463 #define LPMONITORINFOEX my_LPMONITORINFOEX
464
465 #ifndef MONITOR_DEFAULTTONULL
466 #define MONITOR_DEFAULTTONULL 0
467 #endif // MONITOR_DEFAULTTONULL
468
469 #ifndef MONITORINFOF_PRIMARY
470 #define MONITORINFOF_PRIMARY 1
471 #endif // MONITORINFOF_PRIMARY
472
473 #ifndef DDENUM_ATTACHEDSECONDARYDEVICES
474 #define DDENUM_ATTACHEDSECONDARYDEVICES 1
475 #endif
476
477 #endif // MONITOR_DEFAULTTONULL
478
479 // ----------------------------------------------------------------------------
480 // Tree control
481 // ----------------------------------------------------------------------------
482
483 #ifndef TVIS_FOCUSED
484 #define TVIS_FOCUSED 0x0001
485 #endif
486
487 #ifndef TVS_CHECKBOXES
488 #define TVS_CHECKBOXES 0x0100
489 #endif
490
491 #ifndef TVITEM
492 #define TVITEM TV_ITEM
493 #endif
494
495 #endif
496 // DMC++
497
498 /*
499 * The following are specifically required for OpenWatcom C++ (none at present)
500 */
501
502 #if defined(__WATCOMC__)
503 #endif
504
505 /*
506 * The following are specifically required for MinGW (none at present)
507 */
508
509 #if defined (__MINGW32__)
510
511 #if !wxCHECK_W32API_VERSION(3,1)
512
513 #include <windows.h>
514 #include "wx/msw/winundef.h"
515
516 typedef struct
517 {
518 RECT rgrc[3];
519 WINDOWPOS *lppos;
520 } NCCALCSIZE_PARAMS, *LPNCCALCSIZE_PARAMS;
521
522 #endif
523
524 #endif
525
526 //Various defines that will be needed by mingw and possibly VC++6
527 //Used by the webview library
528
529 #ifndef DISPID_COMMANDSTATECHANGE
530 #define DISPID_COMMANDSTATECHANGE 105
531 #endif
532
533 #ifndef DISPID_NAVIGATECOMPLETE2
534 #define DISPID_NAVIGATECOMPLETE2 252
535 #endif
536
537 #ifndef DISPID_NAVIGATEERROR
538 #define DISPID_NAVIGATEERROR 271
539 #endif
540
541 #ifndef DISPID_NEWWINDOW3
542 #define DISPID_NEWWINDOW3 273
543 #endif
544
545 #ifndef INET_E_ERROR_FIRST
546 #define INET_E_ERROR_FIRST 0x800C0002L
547 #endif
548
549 #ifndef INET_E_INVALID_URL
550 #define INET_E_INVALID_URL 0x800C0002L
551 #endif
552
553 #ifndef INET_E_NO_SESSION
554 #define INET_E_NO_SESSION 0x800C0003L
555 #endif
556
557 #ifndef INET_E_CANNOT_CONNECT
558 #define INET_E_CANNOT_CONNECT 0x800C0004L
559 #endif
560
561 #ifndef INET_E_RESOURCE_NOT_FOUND
562 #define INET_E_RESOURCE_NOT_FOUND 0x800C0005L
563 #endif
564
565 #ifndef INET_E_OBJECT_NOT_FOUND
566 #define INET_E_OBJECT_NOT_FOUND 0x800C0006L
567 #endif
568
569 #ifndef INET_E_DATA_NOT_AVAILABLE
570 #define INET_E_DATA_NOT_AVAILABLE 0x800C0007L
571 #endif
572
573 #ifndef INET_E_DOWNLOAD_FAILURE
574 #define INET_E_DOWNLOAD_FAILURE 0x800C0008L
575 #endif
576
577 #ifndef INET_E_AUTHENTICATION_REQUIRED
578 #define INET_E_AUTHENTICATION_REQUIRED 0x800C0009L
579 #endif
580
581 #ifndef INET_E_NO_VALID_MEDIA
582 #define INET_E_NO_VALID_MEDIA 0x800C000AL
583 #endif
584
585 #ifndef INET_E_CONNECTION_TIMEOUT
586 #define INET_E_CONNECTION_TIMEOUT 0x800C000BL
587 #endif
588
589 #ifndef INET_E_INVALID_REQUEST
590 #define INET_E_INVALID_REQUEST 0x800C000CL
591 #endif
592
593 #ifndef INET_E_UNKNOWN_PROTOCOL
594 #define INET_E_UNKNOWN_PROTOCOL 0x800C000DL
595 #endif
596
597 #ifndef INET_E_SECURITY_PROBLEM
598 #define INET_E_SECURITY_PROBLEM 0x800C000EL
599 #endif
600
601 #ifndef INET_E_CANNOT_LOAD_DATA
602 #define INET_E_CANNOT_LOAD_DATA 0x800C000FL
603 #endif
604
605 #ifndef INET_E_CANNOT_INSTANTIATE_OBJECT
606 #define INET_E_CANNOT_INSTANTIATE_OBJECT 0x800C0010L
607 #endif
608
609 #ifndef INET_E_QUERYOPTION_UNKNOWN
610 #define INET_E_QUERYOPTION_UNKNOWN 0x800C0013L
611 #endif
612
613 #ifndef INET_E_REDIRECT_FAILED
614 #define INET_E_REDIRECT_FAILED 0x800C0014L
615 #endif
616
617 #ifndef INET_E_REDIRECT_TO_DIR
618 #define INET_E_REDIRECT_TO_DIR 0x800C0015L
619 #endif
620
621 #ifndef INET_E_CANNOT_LOCK_REQUEST
622 #define INET_E_CANNOT_LOCK_REQUEST 0x800C0016L
623 #endif
624
625 #ifndef INET_E_USE_EXTEND_BINDING
626 #define INET_E_USE_EXTEND_BINDING 0x800C0017L
627 #endif
628
629 #ifndef INET_E_TERMINATED_BIND
630 #define INET_E_TERMINATED_BIND 0x800C0018L
631 #endif
632
633 #ifndef INET_E_INVALID_CERTIFICATE
634 #define INET_E_INVALID_CERTIFICATE 0x800C0019L
635 #endif
636
637 #ifndef INET_E_CODE_DOWNLOAD_DECLINED
638 #define INET_E_CODE_DOWNLOAD_DECLINED 0x800C0100L
639 #endif
640
641 #ifndef INET_E_RESULT_DISPATCHED
642 #define INET_E_RESULT_DISPATCHED 0x800C0200L
643 #endif
644
645 #ifndef INET_E_CANNOT_REPLACE_SFP_FILE
646 #define INET_E_CANNOT_REPLACE_SFP_FILE 0x800C0300L
647 #endif
648
649 #ifndef INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY
650 #define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY 0x800C0500L
651 #endif
652
653 #ifndef INET_E_CODE_INSTALL_SUPPRESSED
654 #define INET_E_CODE_INSTALL_SUPPRESSED 0x800C0400L
655 #endif
656
657 #ifndef MUI_LANGUAGE_NAME
658 #define MUI_LANGUAGE_NAME 0x8
659 #endif
660
661 //We need to check if we are using MinGW or mingw-w64 as their
662 //definitions are different
663
664 #ifdef __MINGW32__
665 #include <_mingw.h>
666 #endif
667
668 #if defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)
669 typedef enum CommandStateChangeConstants {
670 CSC_UPDATECOMMANDS = (int) 0xFFFFFFFF,
671 CSC_NAVIGATEFORWARD = 0x1,
672 CSC_NAVIGATEBACK = 0x2
673 } CommandStateChangeConstants;
674 #endif
675
676 /*
677 * In addition to the declarations for VC++, the following are required for WinCE
678 */
679
680 #ifdef __WXWINCE__
681 #include "wx/msw/wince/missing.h"
682 #endif
683
684 /*
685 * The following are specifically required for Wine
686 */
687
688 #ifdef __WINE__
689 #ifndef ENUM_CURRENT_SETTINGS
690 #define ENUM_CURRENT_SETTINGS ((DWORD)-1)
691 #endif
692 #ifndef BROADCAST_QUERY_DENY
693 #define BROADCAST_QUERY_DENY 1112363332
694 #endif
695 #endif // defined __WINE__
696
697 #ifndef INVALID_FILE_ATTRIBUTES
698 #define INVALID_FILE_ATTRIBUTES ((DWORD)-1)
699 #endif
700
701 #endif
702 // _WX_MISSING_H_