1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Definitions and stuff
9 // Copyright: (c) 1998 by Total Control Software
10 // Licence: wxWindows license
11 /////////////////////////////////////////////////////////////////////////////
14 //---------------------------------------------------------------------------
15 // Globally turn on the autodoc feature
17 %feature("autodoc", "1"); // 0 == no param types, 1 == show param types
19 // Turn on kwargs by default
20 %feature("kwargs", "1");
22 // Don't generate separate wrappers for each default args combination
23 %feature("compactdefaultargs");
25 // Don't generate default ctors or dtors if the C++ doesn't have them
26 %feature("nodefault");
28 // This is the SWIG 1.3.28 way to do the above...
29 // // Don't generate default ctors or dtors if the C++ doesn't have them
30 // %feature("nodefaultctor");
31 // %feature("nodefaultdtor");
33 //---------------------------------------------------------------------------
34 // Tell SWIG to wrap all the wrappers with our thread protection by default
37 PyThreadState* __tstate = wxPyBeginAllowThreads();
39 wxPyEndAllowThreads(__tstate);
40 if (PyErr_Occurred()) SWIG_fail;
44 // This one can be used to add a check for an existing wxApp before the real
45 // work is done. An exception is raised if there isn't one.
46 %define MustHaveApp(name)
48 if (!wxPyCheckForApp()) SWIG_fail;
49 PyThreadState* __tstate = wxPyBeginAllowThreads();
51 wxPyEndAllowThreads(__tstate);
52 if (PyErr_Occurred()) SWIG_fail;
58 //---------------------------------------------------------------------------
59 // some type definitions to simplify things for SWIG
61 typedef int wxEventType;
62 typedef unsigned int size_t;
63 typedef unsigned int time_t;
64 typedef unsigned char byte;
65 typedef unsigned long wxUIntPtr;
67 #define wxWindowID int
70 #define wxUint32 unsigned int
73 //----------------------------------------------------------------------
74 // Various SWIG macros and such
76 #define %pythonAppend %feature("pythonappend")
77 #define %pythonPrepend %feature("pythonprepend")
78 #define %kwargs %feature("kwargs")
79 #define %nokwargs %feature("kwargs", "0")
80 #define %noautodoc %feature("noautodoc")
85 #define %pythoncode %insert("python")
91 // Given the name of a wxChar (or wxString) constant in C++, make
92 // a static wxString for wxPython, and also let SWIG wrap it.
93 %define MAKE_CONST_WXSTRING(strname)
94 %{ static const wxString wxPy##strname(wx##strname); %}
96 %rename(strname) wxPy##strname;
97 const wxString wxPy##strname;
101 %define MAKE_CONST_WXSTRING2(strname, val)
102 %{ static const wxString wxPy##strname(val); %}
104 %rename(strname) wxPy##strname;
105 const wxString wxPy##strname;
109 %define MAKE_CONST_WXSTRING_NOSWIG(strname)
110 %{ static const wxString wxPy##strname(wx##strname); %}
113 // Generate code in the module init for the event types, since they may not be
114 // initialized yet when they are used in the static swig_const_table.
115 %typemap(consttab) wxEventType; // TODO: how to prevent code inserted into the consttab?
116 %typemap(constcode) wxEventType "PyDict_SetItemString(d, \"$symname\", PyInt_FromLong($value));";
120 //----------------------------------------------------------------------
121 // Macros for the docstring and autodoc features of SWIG. These will
122 // help make the code look more readable, and pretty, as well as help
123 // reduce typing in some cases.
125 // Set the docsring for the given full or partial declaration
127 %define DocStr(decl, docstr, details)
128 %feature("docstring") decl docstr details;
131 %define DocStr(decl, docstr, details)
132 %feature("docstring") decl docstr;
137 // Set the autodoc string for a full or partial declaration
138 %define DocA(decl, astr)
139 %feature("autodoc") decl astr;
143 // Set both the autodoc and docstring for a full or partial declaration
145 %define DocAStr(decl, astr, docstr, details)
146 %feature("autodoc") decl astr;
147 %feature("docstring") decl docstr details
150 %define DocAStr(decl, astr, docstr, details)
151 %feature("autodoc") decl astr;
152 %feature("docstring") decl docstr
159 // Set the docstring for a decl and then define the decl too. Must use the
160 // full declaration of the item.
162 %define DocDeclStr(type, decl, docstr, details)
163 %feature("docstring") decl docstr details;
167 %define DocDeclStr(type, decl, docstr, details)
168 %feature("docstring") decl docstr;
175 // As above, but also give the decl a new %name
177 %define DocDeclStrName(type, decl, docstr, details, newname)
178 %feature("docstring") decl docstr details;
179 %rename(newname) decl;
183 %define DocDeclStrName(type, decl, docstr, details, newname)
184 %feature("docstring") decl docstr;
185 %rename(newname) decl;
191 // Set the autodoc string for a decl and then define the decl too. Must use the
192 // full declaration of the item.
193 %define DocDeclA(type, decl, astr)
194 %feature("autodoc") decl astr;
198 // As above, but also give the decl a new %name
199 %define DocDeclAName(type, decl, astr, newname)
200 %feature("autodoc") decl astr;
201 %rename(newname) decl;
207 // Set the autodoc and the docstring for a decl and then define the decl too.
208 // Must use the full declaration of the item.
210 %define DocDeclAStr(type, decl, astr, docstr, details)
211 %feature("autodoc") decl astr;
212 %feature("docstring") decl docstr details;
216 %define DocDeclAStr(type, decl, astr, docstr, details)
217 %feature("autodoc") decl astr;
218 %feature("docstring") decl docstr;
224 // As above, but also give the decl a new %name
226 %define DocDeclAStrName(type, decl, astr, docstr, details, newname)
227 %feature("autodoc") decl astr;
228 %feature("docstring") decl docstr details;
229 %rename(newname) decl;
233 %define DocDeclAStrName(type, decl, astr, docstr, details, newname)
234 %feature("autodoc") decl astr;
235 %feature("docstring") decl docstr;
236 %rename(newname) decl;
243 // Set the docstring for a constructor decl and then define the decl too.
244 // Must use the full declaration of the item.
246 %define DocCtorStr(decl, docstr, details)
247 %feature("docstring") decl docstr details;
251 %define DocCtorStr(decl, docstr, details)
252 %feature("docstring") decl docstr;
258 // As above, but also give the decl a new %name
260 %define DocCtorStrName(decl, docstr, details, newname)
261 %feature("docstring") decl docstr details;
262 %rename(newname) decl;
266 %define DocCtorStrName(decl, docstr, details, newname)
267 %feature("docstring") decl docstr;
268 %rename(newname) decl;
274 // Set the autodoc string for a constructor decl and then define the decl too.
275 // Must use the full declaration of the item.
276 %define DocCtorA(decl, astr)
277 %feature("autodoc") decl astr;
281 // As above, but also give the decl a new %name
282 %define DocCtorAName(decl, astr, newname)
283 %feature("autodoc") decl astr;
284 %rename(newname) decl;
290 // Set the autodoc and the docstring for a constructor decl and then define
291 // the decl too. Must use the full declaration of the item.
293 %define DocCtorAStr(decl, astr, docstr, details)
294 %feature("autodoc") decl astr;
295 %feature("docstring") decl docstr details;
299 %define DocCtorAStr(decl, astr, docstr, details)
300 %feature("autodoc") decl astr;
301 %feature("docstring") decl docstr;
308 // As above, but also give the decl a new %name
310 %define DocCtorAStrName(decl, astr, docstr, details, newname)
311 %feature("autodoc") decl astr;
312 %feature("docstring") decl docstr details;
313 %rename(newname) decl;
317 %define DocCtorAStrName(decl, astr, docstr, details, newname)
318 %feature("autodoc") decl astr;
319 %feature("docstring") decl docstr;
320 %rename(newname) decl;
329 %#---------------------------------------------------------------------------
334 // A set of macros to make using %rename easier, since %name has been
336 %define %Rename(newname, type, decl)
337 %rename(newname) decl;
341 %define %RenameCtor(newname, decl)
342 %rename(newname) decl;
347 %define %RenameDocCtor(newname, docstr, details, decl)
348 %feature("docstring") decl docstr details;
349 %rename(newname) decl;
353 %define %RenameDocCtor(newname, docstr, details, decl)
354 %feature("docstring") decl docstr;
355 %rename(newname) decl;
360 //---------------------------------------------------------------------------
361 // Forward declarations and %renames for some classes, so the autodoc strings
362 // will be able to use the right types even when the real class declaration is
363 // not in the module being processed or seen by %import's.
365 #ifdef BUILDING_RENAMERS
366 #define FORWARD_DECLARE(wxName, Name)
368 %define FORWARD_DECLARE(wxName, Name)
369 %rename(Name) wxName;
374 FORWARD_DECLARE(wxString, String);
375 FORWARD_DECLARE(wxBitmap, Bitmap);
376 FORWARD_DECLARE(wxDateTime, DateTime);
377 FORWARD_DECLARE(wxInputStream, InputStream);
378 FORWARD_DECLARE(wxDC, DC);
379 FORWARD_DECLARE(wxCursor, Cursor);
380 FORWARD_DECLARE(wxRegion, Region);
381 FORWARD_DECLARE(wxColour, Colour);
382 FORWARD_DECLARE(wxFont, Font);
383 FORWARD_DECLARE(wxCaret, Caret);
384 FORWARD_DECLARE(wxToolTip, ToolTip);
385 FORWARD_DECLARE(wxPyDropTarget, DropTarget);
386 FORWARD_DECLARE(wxImageList, ImageList);
387 FORWARD_DECLARE(wxMemoryDC, MemoryDC);
388 FORWARD_DECLARE(wxHtmlTagHandler, HtmlTagHandler);
389 FORWARD_DECLARE(wxConfigBase, ConfigBase);
390 FORWARD_DECLARE(wxIcon, Icon);
391 FORWARD_DECLARE(wxStaticBox, StaticBox);
394 //---------------------------------------------------------------------------
397 #if !WXWIN_COMPATIBILITY_2_4
398 #define wxHIDE_READONLY 0
403 // General numeric #define's and etc. Making them all enums makes SWIG use the
404 // real macro when making the Python Int
422 wxTRANSPARENT_WINDOW,
424 wxDEFAULT_CONTROL_BORDER,
425 wxDEFAULT_STATUSBAR_STYLE,
510 wxSIZE_ALLOW_MINUS_ONE,
514 wxPRINT_QUALITY_HIGH,
515 wxPRINT_QUALITY_MEDIUM,
517 wxPRINT_QUALITY_DRAFT,
540 wxID_HELP_PROCEDURES,
559 wxID_VIEW_LARGEICONS,
560 wxID_VIEW_SMALLICONS,
620 wxID_REVERT_TO_SAVED,
651 wxNO_FULL_REPAINT_ON_RESIZE,
652 wxFULL_REPAINT_ON_RESIZE,
657 wxWS_EX_VALIDATE_RECURSIVELY,
658 wxWS_EX_BLOCK_EVENTS,
661 wxWS_EX_THEMED_BACKGROUND,
662 wxWS_EX_PROCESS_IDLE,
663 wxWS_EX_PROCESS_UI_UPDATES,
666 // Mapping modes (as per Windows)
679 // It looks like wxTabCtrl may rise from the dead. Uncomment these if
680 // it gets an implementation for all platforms...
681 // wxTC_RIGHTJUSTIFY,
694 enum wxGeometryCentre
729 wxALIGN_CENTER_HORIZONTAL,
730 wxALIGN_CENTRE_HORIZONTAL,
735 wxALIGN_CENTER_VERTICAL,
736 wxALIGN_CENTRE_VERTICAL,
770 enum wxBackgroundStyle
802 wxSTIPPLE_MASK_OPAQUE,
819 wxXOR, // src XOR dst
821 wxOR_REVERSE, // src OR (NOT dst)
822 wxAND_REVERSE,// src AND (NOT dst)
824 wxAND, // src AND dst
825 wxAND_INVERT, // (NOT src) AND dst
827 wxNOR, // (NOT src) AND (NOT dst)
828 wxEQUIV, // (NOT src) XOR dst
829 wxSRC_INVERT, // (NOT src)
830 wxOR_INVERT, // (NOT src) OR dst
831 wxNAND, // (NOT src) OR (NOT dst)
834 // wxSRC_OR, // source _bitmap_ OR destination
835 // wxSRC_AND // source _bitmap_ AND destination
858 WXK_PRIOR, /* Page up */
859 WXK_NEXT, /* Page down */
940 WXK_NUMPAD_SEPARATOR,
951 // Hardware-specific buttons
977 wxPAPER_NONE, // Use specific dimensions
978 wxPAPER_LETTER, // Letter, 8 1/2 by 11 inches
979 wxPAPER_LEGAL, // Legal, 8 1/2 by 14 inches
980 wxPAPER_A4, // A4 Sheet, 210 by 297 millimeters
981 wxPAPER_CSHEET, // C Sheet, 17 by 22 inches
982 wxPAPER_DSHEET, // D Sheet, 22 by 34 inches
983 wxPAPER_ESHEET, // E Sheet, 34 by 44 inches
984 wxPAPER_LETTERSMALL, // Letter Small, 8 1/2 by 11 inches
985 wxPAPER_TABLOID, // Tabloid, 11 by 17 inches
986 wxPAPER_LEDGER, // Ledger, 17 by 11 inches
987 wxPAPER_STATEMENT, // Statement, 5 1/2 by 8 1/2 inches
988 wxPAPER_EXECUTIVE, // Executive, 7 1/4 by 10 1/2 inches
989 wxPAPER_A3, // A3 sheet, 297 by 420 millimeters
990 wxPAPER_A4SMALL, // A4 small sheet, 210 by 297 millimeters
991 wxPAPER_A5, // A5 sheet, 148 by 210 millimeters
992 wxPAPER_B4, // B4 sheet, 250 by 354 millimeters
993 wxPAPER_B5, // B5 sheet, 182-by-257-millimeter paper
994 wxPAPER_FOLIO, // Folio, 8-1/2-by-13-inch paper
995 wxPAPER_QUARTO, // Quarto, 215-by-275-millimeter paper
996 wxPAPER_10X14, // 10-by-14-inch sheet
997 wxPAPER_11X17, // 11-by-17-inch sheet
998 wxPAPER_NOTE, // Note, 8 1/2 by 11 inches
999 wxPAPER_ENV_9, // #9 Envelope, 3 7/8 by 8 7/8 inches
1000 wxPAPER_ENV_10, // #10 Envelope, 4 1/8 by 9 1/2 inches
1001 wxPAPER_ENV_11, // #11 Envelope, 4 1/2 by 10 3/8 inches
1002 wxPAPER_ENV_12, // #12 Envelope, 4 3/4 by 11 inches
1003 wxPAPER_ENV_14, // #14 Envelope, 5 by 11 1/2 inches
1004 wxPAPER_ENV_DL, // DL Envelope, 110 by 220 millimeters
1005 wxPAPER_ENV_C5, // C5 Envelope, 162 by 229 millimeters
1006 wxPAPER_ENV_C3, // C3 Envelope, 324 by 458 millimeters
1007 wxPAPER_ENV_C4, // C4 Envelope, 229 by 324 millimeters
1008 wxPAPER_ENV_C6, // C6 Envelope, 114 by 162 millimeters
1009 wxPAPER_ENV_C65, // C65 Envelope, 114 by 229 millimeters
1010 wxPAPER_ENV_B4, // B4 Envelope, 250 by 353 millimeters
1011 wxPAPER_ENV_B5, // B5 Envelope, 176 by 250 millimeters
1012 wxPAPER_ENV_B6, // B6 Envelope, 176 by 125 millimeters
1013 wxPAPER_ENV_ITALY, // Italy Envelope, 110 by 230 millimeters
1014 wxPAPER_ENV_MONARCH, // Monarch Envelope, 3 7/8 by 7 1/2 inches
1015 wxPAPER_ENV_PERSONAL, // 6 3/4 Envelope, 3 5/8 by 6 1/2 inches
1016 wxPAPER_FANFOLD_US, // US Std Fanfold, 14 7/8 by 11 inches
1017 wxPAPER_FANFOLD_STD_GERMAN, // German Std Fanfold, 8 1/2 by 12 inches
1018 wxPAPER_FANFOLD_LGL_GERMAN, // German Legal Fanfold, 8 1/2 by 13 inches
1020 wxPAPER_ISO_B4, // B4 (ISO) 250 x 353 mm
1021 wxPAPER_JAPANESE_POSTCARD, // Japanese Postcard 100 x 148 mm
1022 wxPAPER_9X11, // 9 x 11 in
1023 wxPAPER_10X11, // 10 x 11 in
1024 wxPAPER_15X11, // 15 x 11 in
1025 wxPAPER_ENV_INVITE, // Envelope Invite 220 x 220 mm
1026 wxPAPER_LETTER_EXTRA, // Letter Extra 9 \275 x 12 in
1027 wxPAPER_LEGAL_EXTRA, // Legal Extra 9 \275 x 15 in
1028 wxPAPER_TABLOID_EXTRA, // Tabloid Extra 11.69 x 18 in
1029 wxPAPER_A4_EXTRA, // A4 Extra 9.27 x 12.69 in
1030 wxPAPER_LETTER_TRANSVERSE, // Letter Transverse 8 \275 x 11 in
1031 wxPAPER_A4_TRANSVERSE, // A4 Transverse 210 x 297 mm
1032 wxPAPER_LETTER_EXTRA_TRANSVERSE, // Letter Extra Transverse 9\275 x 12 in
1033 wxPAPER_A_PLUS, // SuperA/SuperA/A4 227 x 356 mm
1034 wxPAPER_B_PLUS, // SuperB/SuperB/A3 305 x 487 mm
1035 wxPAPER_LETTER_PLUS, // Letter Plus 8.5 x 12.69 in
1036 wxPAPER_A4_PLUS, // A4 Plus 210 x 330 mm
1037 wxPAPER_A5_TRANSVERSE, // A5 Transverse 148 x 210 mm
1038 wxPAPER_B5_TRANSVERSE, // B5 (JIS) Transverse 182 x 257 mm
1039 wxPAPER_A3_EXTRA, // A3 Extra 322 x 445 mm
1040 wxPAPER_A5_EXTRA, // A5 Extra 174 x 235 mm
1041 wxPAPER_B5_EXTRA, // B5 (ISO) Extra 201 x 276 mm
1042 wxPAPER_A2, // A2 420 x 594 mm
1043 wxPAPER_A3_TRANSVERSE, // A3 Transverse 297 x 420 mm
1044 wxPAPER_A3_EXTRA_TRANSVERSE, // A3 Extra Transverse 322 x 445 mm
1046 wxPAPER_DBL_JAPANESE_POSTCARD,/* Japanese Double Postcard 200 x 148 mm */
1047 wxPAPER_A6, /* A6 105 x 148 mm */
1048 wxPAPER_JENV_KAKU2, /* Japanese Envelope Kaku #2 */
1049 wxPAPER_JENV_KAKU3, /* Japanese Envelope Kaku #3 */
1050 wxPAPER_JENV_CHOU3, /* Japanese Envelope Chou #3 */
1051 wxPAPER_JENV_CHOU4, /* Japanese Envelope Chou #4 */
1052 wxPAPER_LETTER_ROTATED, /* Letter Rotated 11 x 8 1/2 in */
1053 wxPAPER_A3_ROTATED, /* A3 Rotated 420 x 297 mm */
1054 wxPAPER_A4_ROTATED, /* A4 Rotated 297 x 210 mm */
1055 wxPAPER_A5_ROTATED, /* A5 Rotated 210 x 148 mm */
1056 wxPAPER_B4_JIS_ROTATED, /* B4 (JIS) Rotated 364 x 257 mm */
1057 wxPAPER_B5_JIS_ROTATED, /* B5 (JIS) Rotated 257 x 182 mm */
1058 wxPAPER_JAPANESE_POSTCARD_ROTATED,/* Japanese Postcard Rotated 148 x 100 mm */
1059 wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED,/* Double Japanese Postcard Rotated 148 x 200 mm */
1060 wxPAPER_A6_ROTATED, /* A6 Rotated 148 x 105 mm */
1061 wxPAPER_JENV_KAKU2_ROTATED, /* Japanese Envelope Kaku #2 Rotated */
1062 wxPAPER_JENV_KAKU3_ROTATED, /* Japanese Envelope Kaku #3 Rotated */
1063 wxPAPER_JENV_CHOU3_ROTATED, /* Japanese Envelope Chou #3 Rotated */
1064 wxPAPER_JENV_CHOU4_ROTATED, /* Japanese Envelope Chou #4 Rotated */
1065 wxPAPER_B6_JIS, /* B6 (JIS) 128 x 182 mm */
1066 wxPAPER_B6_JIS_ROTATED, /* B6 (JIS) Rotated 182 x 128 mm */
1067 wxPAPER_12X11, /* 12 x 11 in */
1068 wxPAPER_JENV_YOU4, /* Japanese Envelope You #4 */
1069 wxPAPER_JENV_YOU4_ROTATED, /* Japanese Envelope You #4 Rotated */
1070 wxPAPER_P16K, /* PRC 16K 146 x 215 mm */
1071 wxPAPER_P32K, /* PRC 32K 97 x 151 mm */
1072 wxPAPER_P32KBIG, /* PRC 32K(Big) 97 x 151 mm */
1073 wxPAPER_PENV_1, /* PRC Envelope #1 102 x 165 mm */
1074 wxPAPER_PENV_2, /* PRC Envelope #2 102 x 176 mm */
1075 wxPAPER_PENV_3, /* PRC Envelope #3 125 x 176 mm */
1076 wxPAPER_PENV_4, /* PRC Envelope #4 110 x 208 mm */
1077 wxPAPER_PENV_5, /* PRC Envelope #5 110 x 220 mm */
1078 wxPAPER_PENV_6, /* PRC Envelope #6 120 x 230 mm */
1079 wxPAPER_PENV_7, /* PRC Envelope #7 160 x 230 mm */
1080 wxPAPER_PENV_8, /* PRC Envelope #8 120 x 309 mm */
1081 wxPAPER_PENV_9, /* PRC Envelope #9 229 x 324 mm */
1082 wxPAPER_PENV_10, /* PRC Envelope #10 324 x 458 mm */
1083 wxPAPER_P16K_ROTATED, /* PRC 16K Rotated */
1084 wxPAPER_P32K_ROTATED, /* PRC 32K Rotated */
1085 wxPAPER_P32KBIG_ROTATED, /* PRC 32K(Big) Rotated */
1086 wxPAPER_PENV_1_ROTATED, /* PRC Envelope #1 Rotated 165 x 102 mm */
1087 wxPAPER_PENV_2_ROTATED, /* PRC Envelope #2 Rotated 176 x 102 mm */
1088 wxPAPER_PENV_3_ROTATED, /* PRC Envelope #3 Rotated 176 x 125 mm */
1089 wxPAPER_PENV_4_ROTATED, /* PRC Envelope #4 Rotated 208 x 110 mm */
1090 wxPAPER_PENV_5_ROTATED, /* PRC Envelope #5 Rotated 220 x 110 mm */
1091 wxPAPER_PENV_6_ROTATED, /* PRC Envelope #6 Rotated 230 x 120 mm */
1092 wxPAPER_PENV_7_ROTATED, /* PRC Envelope #7 Rotated 230 x 160 mm */
1093 wxPAPER_PENV_8_ROTATED, /* PRC Envelope #8 Rotated 309 x 120 mm */
1094 wxPAPER_PENV_9_ROTATED, /* PRC Envelope #9 Rotated 324 x 229 mm */
1095 wxPAPER_PENV_10_ROTATED /* PRC Envelope #10 Rotated 458 x 324 m */
1100 wxDUPLEX_SIMPLEX, // Non-duplex
1101 wxDUPLEX_HORIZONTAL,
1107 // menu and toolbar item kinds
1123 wxHT_SCROLLBAR_FIRST = wxHT_NOWHERE,
1124 wxHT_SCROLLBAR_ARROW_LINE_1, // left or upper arrow to scroll by line
1125 wxHT_SCROLLBAR_ARROW_LINE_2, // right or down
1126 wxHT_SCROLLBAR_ARROW_PAGE_1, // left or upper arrow to scroll by page
1127 wxHT_SCROLLBAR_ARROW_PAGE_2, // right or down
1128 wxHT_SCROLLBAR_THUMB, // on the thumb
1129 wxHT_SCROLLBAR_BAR_1, // bar to the left/above the thumb
1130 wxHT_SCROLLBAR_BAR_2, // bar to the right/below the thumb
1131 wxHT_SCROLLBAR_LAST,
1134 wxHT_WINDOW_OUTSIDE, // not in this window at all
1135 wxHT_WINDOW_INSIDE, // in the client area
1136 wxHT_WINDOW_VERT_SCROLLBAR, // on the vertical scrollbar
1137 wxHT_WINDOW_HORZ_SCROLLBAR, // on the horizontal scrollbar
1138 wxHT_WINDOW_CORNER, // on the corner between 2 scrollbars
1161 wxUPDATE_UI_NONE = 0x0000,
1162 wxUPDATE_UI_RECURSE = 0x0001,
1163 wxUPDATE_UI_FROMIDLE = 0x0002 // Invoked from On(Internal)Idle
1168 //---------------------------------------------------------------------------