File: setup_inc.h

package info (click to toggle)
wxpython4.0 4.2.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 221,752 kB
  • sloc: cpp: 962,555; python: 230,573; ansic: 170,731; makefile: 51,756; sh: 9,342; perl: 1,564; javascript: 584; php: 326; xml: 200
file content (69 lines) | stat: -rw-r--r-- 2,153 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
///////////////////////////////////////////////////////////////////////////////
// Name:        wx/osx/setup_inc.h
// Purpose:     OSX-specific setup.h options
// Author:      Stefan Csomor
// Modified by: Stefan Csomor
// Created:     2017-11-09
// Copyright:   (c) Stefan Csomor
// Licence:     wxWindows licence
/////////////////////////////////////////////////////////////////////////////

// ----------------------------------------------------------------------------
// Unix-specific options settings
// ----------------------------------------------------------------------------

// use wxSelectDispatcher class
#define wxUSE_SELECT_DISPATCHER 1

// use wxEpollDispatcher class (Linux only)
#define wxUSE_EPOLL_DISPATCHER 0

/*
 Use GStreamer for Unix.

 Default is 0 as this requires a lot of dependencies which might not be
 available.

 Recommended setting: 1 (wxMediaCtrl won't work by default without it).
 */
#define wxUSE_GSTREAMER 0

// This is only used under Unix, but needs to be defined here as it's checked
// by wx/unix/chkconf.h.
#define wxUSE_XTEST 0

// ----------------------------------------------------------------------------
// Mac-specific settings
// ----------------------------------------------------------------------------

#undef wxUSE_GRAPHICS_CONTEXT
#define wxUSE_GRAPHICS_CONTEXT 1


// things not implemented under Mac

#undef wxUSE_STACKWALKER
#define wxUSE_STACKWALKER 0

// wxWebKit is a wrapper for Apple's WebKit framework, use it if you want to
// embed the Safari browser control
// 0 by default because of Jaguar compatibility problems
#define wxUSE_WEBKIT        1


// Set to 0 for no libmspack
#define wxUSE_LIBMSPACK     0

// native toolbar does support embedding controls, but not complex panels, please test
#define wxOSX_USE_NATIVE_TOOLBAR 1

// make sure we have the proper dispatcher for the console event loop
#define wxUSE_SELECT_DISPATCHER 1
#define wxUSE_EPOLL_DISPATCHER 0

// set to 1 if you have older code that still needs icon refs
#define wxOSX_USE_ICONREF 0

// set to 0 if you have code that has problems with the new bitmap implementation
#define wxOSX_BITMAP_NATIVE_ACCESS 1