]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxSWIG/swig_lib/tcl/tix.i
compilation error fix (trailing comma in an enum)
[wxWidgets.git] / wxPython / wxSWIG / swig_lib / tcl / tix.i
CommitLineData
c90f71dd
RD
1// Initialization code for Tix
2
3%{
4#ifdef __cplusplus
5extern "C" {
6#endif
7extern int Tix_Init(Tcl_Interp *);
8#ifdef __cplusplus
9}
10#endif
11%}
12
13#ifdef AUTODOC
14%subsection "tix.i"
15%text %{
16This module initializes the Tix extension. This is usually done in
17combination with the wish.i or similar module. For example :
18
19 %include wish.i // Build a new wish executable
20 %include tix.i // Initialize Tix
21%}
22#endif
23
24%init %{
25 if (Tix_Init(interp) == TCL_ERROR) {
26 return TCL_ERROR;
27 }
28%}
29