]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/wxgtk.tex
added null pointer check and assert
[wxWidgets.git] / docs / latex / wx / wxgtk.tex
1 \section{wxGTK port}\label{wxgtkport}
2
3 wxGTK is a port of wxWidgets using the GTK+ library.
4 It makes use of GTK+'s native widgets wherever possible and uses
5 wxWidgets' generic controls when needed. GTK+ itself has been
6 ported to a number of systems, but so far only the original X11
7 version is supported. Support for other GTK+ backends is planned,
8 such as the new DirectFB backend.
9
10 All work is being done on GTK+ version 2.0 and above. Support for
11 GTK+ 1.2 will be deprecated in a later release.
12
13 You will need GTK+ 2.0 or higher which is available from:
14
15 \urlref{http://www.gtk.org}{http://www.gtk.org}
16
17 The newer version of GTK+ you use, the more native widgets and
18 features will be utilized. We have gone to a great extent to
19 allow compiling wxWidgets applications with a latest version of
20 GTK+, with the resulting binary working on systems even with a
21 much lower version of GTK+. You will have to ensure that the
22 application is launched with lazy symbol binding for that.
23
24 In order to configure wxWidgets to compile wxGTK you will
25 need use the {\tt --with-gtk} argument to the {\tt configure} script.
26 This is the default for many systems.
27
28 GTK+ 1.2 can still be used, albeit discouraged. For that you can
29 pass {\tt --with-gtk=1} to the {\tt configure} script.
30
31 For further information, please see the files in docs/gtk
32 in the distribution.
33