]>
Commit | Line | Data |
---|---|---|
7bf85405 RD |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: _defs.i | |
3 | // Purpose: Definitions and stuff | |
4 | // | |
5 | // Author: Robin Dunn | |
6 | // | |
7 | // Created: 6/24/97 | |
8 | // RCS-ID: $Id$ | |
9 | // Copyright: (c) 1998 by Total Control Software | |
10 | // Licence: wxWindows license | |
11 | ///////////////////////////////////////////////////////////////////////////// | |
12 | ||
13 | ||
14 | ||
15 | //--------------------------------------------------------------------------- | |
16 | // Forward declares... | |
17 | ||
af309447 RD |
18 | class wxAcceleratorEntry; |
19 | class wxAcceleratorTable; | |
20 | class wxActivateEvent; | |
21 | class wxBitmapButton; | |
22 | class wxBitmap; | |
23 | class wxBrush; | |
24 | class wxButton; | |
25 | class wxCalculateLayoutEvent; | |
a1df7a95 | 26 | class wxCaret; |
af309447 RD |
27 | class wxCheckBox; |
28 | class wxCheckListBox; | |
29 | class wxChoice; | |
30 | class wxClientDC; | |
7bf85405 | 31 | class wxCloseEvent; |
af309447 RD |
32 | class wxColourData; |
33 | class wxColourDialog; | |
34 | class wxColour; | |
35 | class wxComboBox; | |
7bf85405 | 36 | class wxCommandEvent; |
af309447 RD |
37 | class wxConfig; |
38 | class wxControl; | |
39 | class wxCursor; | |
40 | class wxDC; | |
41 | class wxDialog; | |
42 | class wxDirDialog; | |
43 | class wxDropFilesEvent; | |
7bf85405 | 44 | class wxEraseEvent; |
af309447 RD |
45 | class wxEvent; |
46 | class wxEvtHandler; | |
47 | class wxFileDialog; | |
7bf85405 | 48 | class wxFocusEvent; |
af309447 RD |
49 | class wxFontData; |
50 | class wxFontDialog; | |
51 | class wxFont; | |
52 | class wxFrame; | |
53 | class wxGauge; | |
54 | class wxGridCell; | |
55 | class wxGridEvent; | |
56 | class wxGrid; | |
7bf85405 | 57 | class wxIconizeEvent; |
af309447 | 58 | class wxIcon; |
7bf85405 | 59 | class wxIdleEvent; |
af309447 RD |
60 | class wxImageList; |
61 | class wxIndividualLayoutConstraint; | |
62 | class wxInitDialogEvent; | |
63 | class wxJoystickEvent; | |
64 | class wxKeyEvent; | |
65 | class wxLayoutAlgorithm; | |
66 | class wxLayoutConstraints; | |
67 | class wxListBox; | |
68 | class wxListCtrl; | |
69 | class wxListEvent; | |
70 | class wxListItem; | |
71 | class wxMDIChildFrame; | |
72 | class wxMDIClientWindow; | |
73 | class wxMDIParentFrame; | |
7bf85405 | 74 | class wxMask; |
af309447 | 75 | class wxMaximizeEvent; |
7bf85405 | 76 | class wxMemoryDC; |
af309447 RD |
77 | class wxMenuBar; |
78 | class wxMenuEvent; | |
79 | class wxMenuItem; | |
80 | class wxMenu; | |
81 | class wxMessageDialog; | |
82 | class wxMetaFileDC; | |
83 | class wxMiniFrame; | |
84 | class wxMouseEvent; | |
85 | class wxMoveEvent; | |
86 | class wxNotebookEvent; | |
87 | class wxNotebook; | |
88 | class wxPageSetupData; | |
89 | class wxPageSetupDialog; | |
7bf85405 | 90 | class wxPaintDC; |
af309447 RD |
91 | class wxPaintEvent; |
92 | class wxPalette; | |
93 | class wxPanel; | |
94 | class wxPen; | |
95 | class wxPoint; | |
7bf85405 | 96 | class wxPostScriptDC; |
af309447 RD |
97 | class wxPrintData; |
98 | class wxPrintDialog; | |
7bf85405 | 99 | class wxPrinterDC; |
af309447 | 100 | class wxQueryLayoutInfoEvent; |
7bf85405 RD |
101 | class wxRadioBox; |
102 | class wxRadioButton; | |
af309447 RD |
103 | class wxRealPoint; |
104 | class wxRect; | |
105 | class wxRegionIterator; | |
106 | class wxRegion; | |
107 | class wxSashEvent; | |
108 | class wxSashLayoutWindow; | |
109 | class wxSashWindow; | |
110 | class wxScreenDC; | |
111 | class wxScrollBar; | |
112 | class wxScrollEvent; | |
d426c97e | 113 | class wxScrollWinEvent; |
af309447 RD |
114 | class wxScrolledWindow; |
115 | class wxShowEvent; | |
116 | class wxSingleChoiceDialog; | |
117 | class wxSizeEvent; | |
118 | class wxSize; | |
7bf85405 | 119 | class wxSlider; |
af309447 RD |
120 | class wxSpinButton; |
121 | class wxSpinEvent; | |
122 | class wxSplitterWindow; | |
123 | class wxStaticBitmap; | |
124 | class wxStaticBox; | |
125 | class wxStaticText; | |
126 | class wxStatusBar; | |
127 | class wxSysColourChangedEvent; | |
128 | class wxTaskBarIcon; | |
129 | class wxTextCtrl; | |
130 | class wxTextEntryDialog; | |
131 | class wxTimer; | |
132 | class wxToolBarTool; | |
133 | class wxToolBar; | |
134 | class wxToolTip; | |
135 | class wxTreeCtrl; | |
136 | class wxTreeEvent; | |
137 | class wxTreeItemData; | |
138 | class wxTreeItemId; | |
139 | class wxUpdateUIEvent; | |
140 | class wxWindowDC; | |
141 | class wxWindow; | |
2f90df85 RD |
142 | class wxSizer; |
143 | class wxBoxSizer; | |
144 | class wxStaticBoxSizer; | |
7bf85405 | 145 | |
af309447 RD |
146 | class wxPyApp; |
147 | class wxPyMenu; | |
7bf85405 | 148 | class wxPyTimer; |
af309447 | 149 | |
7bf85405 RD |
150 | |
151 | //--------------------------------------------------------------------------- | |
152 | ||
153 | // some definitions for SWIG only | |
154 | typedef unsigned char byte; | |
155 | typedef short int WXTYPE; | |
156 | typedef int wxWindowID; | |
157 | typedef unsigned int uint; | |
158 | typedef signed int EBool; | |
c127177f | 159 | typedef unsigned int size_t |
c368d904 | 160 | typedef unsigned int time_t |
bb0054cd | 161 | typedef int wxPrintQuality; |
b1462dfa | 162 | typedef int wxCoord; |
f6bcfd97 | 163 | typedef char wxChar; |
b1462dfa | 164 | |
7bf85405 RD |
165 | |
166 | //--------------------------------------------------------------------------- | |
167 | ||
168 | // General numeric #define's and etc. Making them all enums makes SWIG use the | |
169 | // real macro when making the Python Int | |
170 | ||
171 | enum { | |
172 | wxMAJOR_VERSION, | |
173 | wxMINOR_VERSION, | |
174 | wxRELEASE_NUMBER, | |
175 | ||
08127323 | 176 | wxNOT_FOUND, |
7bf85405 RD |
177 | |
178 | wxVSCROLL, | |
179 | wxHSCROLL, | |
180 | wxCAPTION, | |
181 | wxDOUBLE_BORDER, | |
182 | wxSUNKEN_BORDER, | |
183 | wxRAISED_BORDER, | |
184 | wxBORDER, | |
185 | wxSIMPLE_BORDER, | |
186 | wxSTATIC_BORDER, | |
187 | wxTRANSPARENT_WINDOW, | |
188 | wxNO_BORDER, | |
189 | wxUSER_COLOURS, | |
190 | wxNO_3D, | |
191 | //wxOVERRIDE_KEY_TRANSLATIONS, | |
192 | wxTAB_TRAVERSAL, | |
1afc06c2 | 193 | wxWANTS_CHARS, |
7bf85405 RD |
194 | wxHORIZONTAL, |
195 | wxVERTICAL, | |
196 | wxBOTH, | |
197 | wxCENTER_FRAME, | |
1afc06c2 RD |
198 | wxCENTRE_ON_SCREEN, |
199 | wxCENTER_ON_SCREEN, | |
200 | ||
7bf85405 RD |
201 | wxSTAY_ON_TOP, |
202 | wxICONIZE, | |
203 | wxMINIMIZE, | |
204 | wxMAXIMIZE, | |
205 | wxTHICK_FRAME, | |
206 | wxSYSTEM_MENU, | |
207 | wxMINIMIZE_BOX, | |
208 | wxMAXIMIZE_BOX, | |
209 | wxTINY_CAPTION_HORIZ, | |
210 | wxTINY_CAPTION_VERT, | |
211 | wxRESIZE_BOX, | |
212 | wxRESIZE_BORDER, | |
213 | wxDIALOG_MODAL, | |
214 | wxDIALOG_MODELESS, | |
215 | wxDEFAULT_FRAME_STYLE, | |
216 | wxDEFAULT_DIALOG_STYLE, | |
b8b8dda7 RD |
217 | |
218 | wxFRAME_TOOL_WINDOW, | |
bb0054cd | 219 | wxFRAME_FLOAT_ON_PARENT, |
4c9993c3 | 220 | wxFRAME_NO_WINDOW_MENU, |
1afc06c2 RD |
221 | wxED_CLIENT_MARGIN, |
222 | wxED_BUTTONS_BOTTOM, | |
223 | wxED_BUTTONS_RIGHT, | |
224 | wxED_STATIC_LINE, | |
225 | wxEXT_DIALOG_STYLE, | |
bb0054cd | 226 | |
08127323 | 227 | wxCLIP_CHILDREN, |
b8b8dda7 | 228 | |
7bf85405 RD |
229 | wxRETAINED, |
230 | wxBACKINGSTORE, | |
231 | wxTB_3DBUTTONS, | |
232 | wxTB_HORIZONTAL, | |
233 | wxTB_VERTICAL, | |
9c039d08 | 234 | wxTB_FLAT, |
f0261a72 | 235 | wxTB_DOCKABLE, |
7bf85405 RD |
236 | wxCOLOURED, |
237 | wxFIXED_LENGTH, | |
238 | wxALIGN_LEFT, | |
be2577e4 RD |
239 | wxALIGN_CENTER_HORIZONTAL, |
240 | wxALIGN_CENTRE_HORIZONTAL, | |
7bf85405 | 241 | wxALIGN_RIGHT, |
2f90df85 | 242 | wxALIGN_BOTTOM, |
be2577e4 RD |
243 | wxALIGN_CENTER_VERTICAL, |
244 | wxALIGN_CENTRE_VERTICAL, | |
2f90df85 | 245 | wxALIGN_TOP, |
be2577e4 RD |
246 | wxALIGN_CENTER, |
247 | wxALIGN_CENTRE, | |
248 | wxSHAPED, | |
7bf85405 RD |
249 | wxLB_NEEDED_SB, |
250 | wxLB_ALWAYS_SB, | |
251 | wxLB_SORT, | |
252 | wxLB_SINGLE, | |
253 | wxLB_MULTIPLE, | |
254 | wxLB_EXTENDED, | |
255 | wxLB_OWNERDRAW, | |
256 | wxLB_HSCROLL, | |
257 | wxPROCESS_ENTER, | |
258 | wxPASSWORD, | |
259 | wxTE_PROCESS_ENTER, | |
f6bcfd97 | 260 | wxTE_PROCESS_TAB, |
7bf85405 RD |
261 | wxTE_PASSWORD, |
262 | wxTE_READONLY, | |
8bf5d46e | 263 | wxTE_RICH, |
7bf85405 | 264 | wxTE_MULTILINE, |
06c0fba4 RD |
265 | wxTE_AUTO_SCROLL, |
266 | wxTE_NO_VSCROLL, | |
7bf85405 RD |
267 | wxCB_SIMPLE, |
268 | wxCB_DROPDOWN, | |
269 | wxCB_SORT, | |
270 | wxCB_READONLY, | |
271 | wxRA_HORIZONTAL, | |
272 | wxRA_VERTICAL, | |
ed175610 RD |
273 | wxRA_SPECIFY_ROWS, |
274 | wxRA_SPECIFY_COLS, | |
7bf85405 RD |
275 | wxRB_GROUP, |
276 | wxGA_PROGRESSBAR, | |
277 | wxGA_HORIZONTAL, | |
278 | wxGA_VERTICAL, | |
bb0054cd | 279 | wxGA_SMOOTH, |
7bf85405 RD |
280 | wxSL_HORIZONTAL, |
281 | wxSL_VERTICAL, | |
282 | wxSL_AUTOTICKS, | |
283 | wxSL_LABELS, | |
284 | wxSL_LEFT, | |
285 | wxSL_TOP, | |
286 | wxSL_RIGHT, | |
287 | wxSL_BOTTOM, | |
288 | wxSL_BOTH, | |
289 | wxSL_SELRANGE, | |
290 | wxSB_HORIZONTAL, | |
291 | wxSB_VERTICAL, | |
cf694132 | 292 | wxST_SIZEGRIP, |
2abc0a0f | 293 | wxST_NO_AUTORESIZE, |
7bf85405 RD |
294 | wxBU_AUTODRAW, |
295 | wxBU_NOAUTODRAW, | |
296 | wxTR_HAS_BUTTONS, | |
297 | wxTR_EDIT_LABELS, | |
d5c9047a | 298 | wxTR_LINES_AT_ROOT, |
8bf5d46e | 299 | wxTR_MULTIPLE, |
1afc06c2 | 300 | wxTR_SINGLE, |
8bf5d46e | 301 | wxTR_HAS_VARIABLE_ROW_HEIGHT, |
7bf85405 RD |
302 | wxLC_ICON, |
303 | wxLC_SMALL_ICON, | |
304 | wxLC_LIST, | |
305 | wxLC_REPORT, | |
306 | wxLC_ALIGN_TOP, | |
307 | wxLC_ALIGN_LEFT, | |
308 | wxLC_AUTOARRANGE, | |
309 | wxLC_USER_TEXT, | |
310 | wxLC_EDIT_LABELS, | |
311 | wxLC_NO_HEADER, | |
312 | wxLC_NO_SORT_HEADER, | |
313 | wxLC_SINGLE_SEL, | |
314 | wxLC_SORT_ASCENDING, | |
315 | wxLC_SORT_DESCENDING, | |
316 | wxLC_MASK_TYPE, | |
317 | wxLC_MASK_ALIGN, | |
318 | wxLC_MASK_SORT, | |
319 | wxSP_VERTICAL, | |
320 | wxSP_HORIZONTAL, | |
321 | wxSP_ARROW_KEYS, | |
322 | wxSP_WRAP, | |
323 | wxSP_NOBORDER, | |
324 | wxSP_3D, | |
325 | wxSP_BORDER, | |
1dec68aa RD |
326 | wxSP_LIVE_UPDATE, |
327 | wxSP_PERMIT_UNSPLIT, | |
7bf85405 RD |
328 | wxFLOOD_SURFACE, |
329 | wxFLOOD_BORDER, | |
330 | wxODDEVEN_RULE, | |
331 | wxWINDING_RULE, | |
332 | wxTOOL_TOP, | |
333 | wxTOOL_BOTTOM, | |
334 | wxTOOL_LEFT, | |
335 | wxTOOL_RIGHT, | |
336 | wxOK, | |
337 | wxYES_NO, | |
338 | wxCANCEL, | |
339 | wxYES, | |
340 | wxNO, | |
1afc06c2 RD |
341 | wxNO_DEFAULT, |
342 | wxYES_DEFAULT, | |
7bf85405 RD |
343 | wxICON_EXCLAMATION, |
344 | wxICON_HAND, | |
345 | wxICON_QUESTION, | |
346 | wxICON_INFORMATION, | |
347 | wxICON_STOP, | |
348 | wxICON_ASTERISK, | |
349 | wxICON_MASK, | |
1afc06c2 RD |
350 | wxICON_WARNING, |
351 | wxICON_ERROR, | |
352 | ||
353 | wxFORWARD, | |
354 | wxBACKWARD, | |
355 | wxRESET, | |
356 | wxHELP, | |
357 | wxMORE, | |
358 | wxSETUP, | |
359 | ||
7bf85405 RD |
360 | wxCENTRE, |
361 | wxCENTER, | |
362 | wxSIZE_AUTO_WIDTH, | |
363 | wxSIZE_AUTO_HEIGHT, | |
364 | wxSIZE_AUTO, | |
365 | wxSIZE_USE_EXISTING, | |
366 | wxSIZE_ALLOW_MINUS_ONE, | |
7bf85405 RD |
367 | wxPORTRAIT, |
368 | wxLANDSCAPE, | |
bb0054cd RD |
369 | wxPRINT_QUALITY_HIGH, |
370 | wxPRINT_QUALITY_MEDIUM, | |
371 | wxPRINT_QUALITY_LOW, | |
372 | wxPRINT_QUALITY_DRAFT, | |
7bf85405 RD |
373 | wxID_OPEN, |
374 | wxID_CLOSE, | |
375 | wxID_NEW, | |
376 | wxID_SAVE, | |
377 | wxID_SAVEAS, | |
378 | wxID_REVERT, | |
379 | wxID_EXIT, | |
380 | wxID_UNDO, | |
381 | wxID_REDO, | |
382 | wxID_HELP, | |
383 | wxID_PRINT, | |
384 | wxID_PRINT_SETUP, | |
385 | wxID_PREVIEW, | |
386 | wxID_ABOUT, | |
387 | wxID_HELP_CONTENTS, | |
388 | wxID_HELP_COMMANDS, | |
389 | wxID_HELP_PROCEDURES, | |
390 | wxID_HELP_CONTEXT, | |
391 | wxID_CUT, | |
392 | wxID_COPY, | |
393 | wxID_PASTE, | |
394 | wxID_CLEAR, | |
395 | wxID_FIND, | |
396 | wxID_FILE1, | |
397 | wxID_FILE2, | |
398 | wxID_FILE3, | |
399 | wxID_FILE4, | |
400 | wxID_FILE5, | |
401 | wxID_FILE6, | |
402 | wxID_FILE7, | |
403 | wxID_FILE8, | |
404 | wxID_FILE9, | |
405 | wxID_OK, | |
406 | wxID_CANCEL, | |
407 | wxID_APPLY, | |
408 | wxID_YES, | |
409 | wxID_NO, | |
cf694132 | 410 | wxID_STATIC, |
4c9993c3 | 411 | wxID_SEPARATOR, |
1afc06c2 | 412 | |
7bf85405 RD |
413 | wxBITMAP_TYPE_BMP, |
414 | wxBITMAP_TYPE_BMP_RESOURCE, | |
415 | wxBITMAP_TYPE_ICO, | |
416 | wxBITMAP_TYPE_ICO_RESOURCE, | |
417 | wxBITMAP_TYPE_CUR, | |
418 | wxBITMAP_TYPE_CUR_RESOURCE, | |
419 | wxBITMAP_TYPE_XBM, | |
420 | wxBITMAP_TYPE_XBM_DATA, | |
421 | wxBITMAP_TYPE_XPM, | |
422 | wxBITMAP_TYPE_XPM_DATA, | |
423 | wxBITMAP_TYPE_TIF, | |
424 | wxBITMAP_TYPE_TIF_RESOURCE, | |
425 | wxBITMAP_TYPE_GIF, | |
426 | wxBITMAP_TYPE_GIF_RESOURCE, | |
427 | wxBITMAP_TYPE_PNG, | |
428 | wxBITMAP_TYPE_PNG_RESOURCE, | |
429 | wxBITMAP_TYPE_ANY, | |
430 | wxBITMAP_TYPE_RESOURCE, | |
cf694132 | 431 | wxBITMAP_TYPE_JPEG, |
9b3d3bc4 | 432 | wxBITMAP_TYPE_PCX, |
7bf85405 RD |
433 | |
434 | wxOPEN, | |
435 | wxSAVE, | |
436 | wxHIDE_READONLY, | |
437 | wxOVERWRITE_PROMPT, | |
2abc0a0f | 438 | wxFILE_MUST_EXIST, |
f6bcfd97 | 439 | wxMULTIPLE, |
7bf85405 RD |
440 | |
441 | wxACCEL_ALT, | |
442 | wxACCEL_CTRL, | |
443 | wxACCEL_SHIFT, | |
f6bcfd97 | 444 | wxACCEL_NORMAL, |
bb0054cd RD |
445 | |
446 | wxPD_AUTO_HIDE, | |
447 | wxPD_APP_MODAL, | |
448 | wxPD_CAN_ABORT, | |
a08cbc01 RD |
449 | wxPD_ELAPSED_TIME, |
450 | wxPD_ESTIMATED_TIME, | |
451 | wxPD_REMAINING_TIME, | |
bb0054cd | 452 | |
8bf5d46e | 453 | wxMENU_TEAROFF, |
1afc06c2 | 454 | wxMB_DOCKABLE, |
8bf5d46e RD |
455 | wxNO_FULL_REPAINT_ON_RESIZE, |
456 | ||
1afc06c2 RD |
457 | wxLEFT, |
458 | wxRIGHT, | |
459 | wxUP, | |
460 | wxDOWN, | |
461 | wxALL, | |
462 | wxTOP, | |
463 | wxBOTTOM, | |
464 | ||
465 | wxNORTH, | |
466 | wxSOUTH, | |
467 | wxEAST, | |
468 | wxWEST, | |
469 | ||
470 | wxSTRETCH_NOT, | |
471 | wxSHRINK, | |
472 | wxGROW, | |
473 | wxEXPAND, | |
474 | ||
475 | wxNB_FIXEDWIDTH, | |
f0261a72 RD |
476 | wxNB_LEFT, |
477 | wxNB_RIGHT, | |
478 | wxNB_BOTTOM, | |
1afc06c2 RD |
479 | |
480 | wxLI_HORIZONTAL, | |
481 | wxLI_VERTICAL, | |
482 | ||
1afc06c2 RD |
483 | wxHW_SCROLLBAR_NEVER, |
484 | wxHW_SCROLLBAR_AUTO, | |
485 | ||
185d7c3e RD |
486 | wxJOYSTICK1, |
487 | wxJOYSTICK2, | |
488 | wxJOY_BUTTON1, | |
489 | wxJOY_BUTTON2, | |
490 | wxJOY_BUTTON3, | |
491 | wxJOY_BUTTON4, | |
492 | wxJOY_BUTTON_ANY, | |
493 | ||
7bf85405 RD |
494 | }; |
495 | ||
496 | ||
cf694132 RD |
497 | // // Standard error codes |
498 | // enum ErrCode | |
499 | // { | |
500 | // ERR_PARAM = (-4000), | |
501 | // ERR_NODATA, | |
502 | // ERR_CANCEL, | |
503 | // ERR_SUCCESS = 0 | |
504 | // }; | |
7bf85405 RD |
505 | |
506 | ||
507 | enum { | |
508 | wxDEFAULT , | |
509 | wxDECORATIVE, | |
510 | wxROMAN, | |
511 | wxSCRIPT, | |
512 | wxSWISS, | |
513 | wxMODERN, | |
514 | wxTELETYPE, | |
515 | wxVARIABLE, | |
516 | wxFIXED, | |
517 | wxNORMAL, | |
518 | wxLIGHT, | |
519 | wxBOLD, | |
520 | wxITALIC, | |
521 | wxSLANT, | |
522 | wxSOLID, | |
523 | wxDOT, | |
524 | wxLONG_DASH, | |
525 | wxSHORT_DASH, | |
526 | wxDOT_DASH, | |
527 | wxUSER_DASH, | |
528 | wxTRANSPARENT, | |
529 | wxSTIPPLE, | |
530 | wxBDIAGONAL_HATCH, | |
531 | wxCROSSDIAG_HATCH, | |
532 | wxFDIAGONAL_HATCH, | |
533 | wxCROSS_HATCH, | |
534 | wxHORIZONTAL_HATCH, | |
535 | wxVERTICAL_HATCH, | |
536 | wxJOIN_BEVEL, | |
537 | wxJOIN_MITER, | |
538 | wxJOIN_ROUND, | |
539 | wxCAP_ROUND, | |
540 | wxCAP_PROJECTING, | |
541 | wxCAP_BUTT | |
542 | }; | |
543 | ||
544 | typedef enum { | |
545 | wxCLEAR, // 0 | |
546 | wxXOR, // src XOR dst | |
547 | wxINVERT, // NOT dst | |
548 | wxOR_REVERSE, // src OR (NOT dst) | |
549 | wxAND_REVERSE,// src AND (NOT dst) | |
550 | wxCOPY, // src | |
551 | wxAND, // src AND dst | |
552 | wxAND_INVERT, // (NOT src) AND dst | |
553 | wxNO_OP, // dst | |
554 | wxNOR, // (NOT src) AND (NOT dst) | |
555 | wxEQUIV, // (NOT src) XOR dst | |
556 | wxSRC_INVERT, // (NOT src) | |
557 | wxOR_INVERT, // (NOT src) OR dst | |
558 | wxNAND, // (NOT src) OR (NOT dst) | |
559 | wxOR, // src OR dst | |
560 | wxSET, // 1 | |
26b9cf27 RD |
561 | // wxSRC_OR, // source _bitmap_ OR destination |
562 | // wxSRC_AND // source _bitmap_ AND destination | |
7bf85405 RD |
563 | } form_ops_t; |
564 | ||
565 | enum _Virtual_keycodes { | |
566 | WXK_BACK = 8, | |
567 | WXK_TAB = 9, | |
568 | WXK_RETURN = 13, | |
569 | WXK_ESCAPE = 27, | |
570 | WXK_SPACE = 32, | |
571 | WXK_DELETE = 127, | |
572 | ||
573 | WXK_START = 300, | |
574 | WXK_LBUTTON, | |
575 | WXK_RBUTTON, | |
576 | WXK_CANCEL, | |
577 | WXK_MBUTTON, | |
578 | WXK_CLEAR, | |
579 | WXK_SHIFT, | |
580 | WXK_CONTROL, | |
581 | WXK_MENU, | |
582 | WXK_PAUSE, | |
583 | WXK_CAPITAL, | |
584 | WXK_PRIOR, // Page up | |
585 | WXK_NEXT, // Page down | |
586 | WXK_END, | |
587 | WXK_HOME, | |
588 | WXK_LEFT, | |
589 | WXK_UP, | |
590 | WXK_RIGHT, | |
591 | WXK_DOWN, | |
592 | WXK_SELECT, | |
593 | WXK_PRINT, | |
594 | WXK_EXECUTE, | |
595 | WXK_SNAPSHOT, | |
596 | WXK_INSERT, | |
597 | WXK_HELP, | |
598 | WXK_NUMPAD0, | |
599 | WXK_NUMPAD1, | |
600 | WXK_NUMPAD2, | |
601 | WXK_NUMPAD3, | |
602 | WXK_NUMPAD4, | |
603 | WXK_NUMPAD5, | |
604 | WXK_NUMPAD6, | |
605 | WXK_NUMPAD7, | |
606 | WXK_NUMPAD8, | |
607 | WXK_NUMPAD9, | |
608 | WXK_MULTIPLY, | |
609 | WXK_ADD, | |
610 | WXK_SEPARATOR, | |
611 | WXK_SUBTRACT, | |
612 | WXK_DECIMAL, | |
613 | WXK_DIVIDE, | |
614 | WXK_F1, | |
615 | WXK_F2, | |
616 | WXK_F3, | |
617 | WXK_F4, | |
618 | WXK_F5, | |
619 | WXK_F6, | |
620 | WXK_F7, | |
621 | WXK_F8, | |
622 | WXK_F9, | |
623 | WXK_F10, | |
624 | WXK_F11, | |
625 | WXK_F12, | |
626 | WXK_F13, | |
627 | WXK_F14, | |
628 | WXK_F15, | |
629 | WXK_F16, | |
630 | WXK_F17, | |
631 | WXK_F18, | |
632 | WXK_F19, | |
633 | WXK_F20, | |
634 | WXK_F21, | |
635 | WXK_F22, | |
636 | WXK_F23, | |
637 | WXK_F24, | |
638 | WXK_NUMLOCK, | |
639 | WXK_SCROLL, | |
640 | WXK_PAGEUP, | |
641 | WXK_PAGEDOWN | |
642 | }; | |
643 | ||
644 | typedef enum { | |
9c039d08 | 645 | wxCURSOR_NONE = 0, |
7bf85405 RD |
646 | wxCURSOR_ARROW = 1, |
647 | wxCURSOR_BULLSEYE, | |
648 | wxCURSOR_CHAR, | |
649 | wxCURSOR_CROSS, | |
650 | wxCURSOR_HAND, | |
651 | wxCURSOR_IBEAM, | |
652 | wxCURSOR_LEFT_BUTTON, | |
653 | wxCURSOR_MAGNIFIER, | |
654 | wxCURSOR_MIDDLE_BUTTON, | |
655 | wxCURSOR_NO_ENTRY, | |
656 | wxCURSOR_PAINT_BRUSH, | |
657 | wxCURSOR_PENCIL, | |
658 | wxCURSOR_POINT_LEFT, | |
659 | wxCURSOR_POINT_RIGHT, | |
660 | wxCURSOR_QUESTION_ARROW, | |
661 | wxCURSOR_RIGHT_BUTTON, | |
662 | wxCURSOR_SIZENESW, | |
663 | wxCURSOR_SIZENS, | |
664 | wxCURSOR_SIZENWSE, | |
665 | wxCURSOR_SIZEWE, | |
666 | wxCURSOR_SIZING, | |
667 | wxCURSOR_SPRAYCAN, | |
668 | wxCURSOR_WAIT, | |
669 | wxCURSOR_WATCH, | |
670 | wxCURSOR_BLANK | |
9c039d08 RD |
671 | // #ifndef __WXMSW__ |
672 | // /* Not yet implemented for Windows */ | |
673 | // , wxCURSOR_CROSS_REVERSE, | |
674 | // wxCURSOR_DOUBLE_ARROW, | |
675 | // wxCURSOR_BASED_ARROW_UP, | |
676 | // wxCURSOR_BASED_ARROW_DOWN | |
677 | // #endif | |
7bf85405 RD |
678 | } _standard_cursors_t; |
679 | ||
680 | ||
cf694132 RD |
681 | |
682 | typedef enum { | |
683 | wxPAPER_NONE, // Use specific dimensions | |
684 | wxPAPER_LETTER, // Letter, 8 1/2 by 11 inches | |
685 | wxPAPER_LEGAL, // Legal, 8 1/2 by 14 inches | |
686 | wxPAPER_A4, // A4 Sheet, 210 by 297 millimeters | |
687 | wxPAPER_CSHEET, // C Sheet, 17 by 22 inches | |
688 | wxPAPER_DSHEET, // D Sheet, 22 by 34 inches | |
689 | wxPAPER_ESHEET, // E Sheet, 34 by 44 inches | |
690 | wxPAPER_LETTERSMALL, // Letter Small, 8 1/2 by 11 inches | |
691 | wxPAPER_TABLOID, // Tabloid, 11 by 17 inches | |
692 | wxPAPER_LEDGER, // Ledger, 17 by 11 inches | |
693 | wxPAPER_STATEMENT, // Statement, 5 1/2 by 8 1/2 inches | |
694 | wxPAPER_EXECUTIVE, // Executive, 7 1/4 by 10 1/2 inches | |
695 | wxPAPER_A3, // A3 sheet, 297 by 420 millimeters | |
696 | wxPAPER_A4SMALL, // A4 small sheet, 210 by 297 millimeters | |
697 | wxPAPER_A5, // A5 sheet, 148 by 210 millimeters | |
698 | wxPAPER_B4, // B4 sheet, 250 by 354 millimeters | |
699 | wxPAPER_B5, // B5 sheet, 182-by-257-millimeter paper | |
700 | wxPAPER_FOLIO, // Folio, 8-1/2-by-13-inch paper | |
701 | wxPAPER_QUARTO, // Quarto, 215-by-275-millimeter paper | |
702 | wxPAPER_10X14, // 10-by-14-inch sheet | |
703 | wxPAPER_11X17, // 11-by-17-inch sheet | |
704 | wxPAPER_NOTE, // Note, 8 1/2 by 11 inches | |
705 | wxPAPER_ENV_9, // #9 Envelope, 3 7/8 by 8 7/8 inches | |
706 | wxPAPER_ENV_10, // #10 Envelope, 4 1/8 by 9 1/2 inches | |
707 | wxPAPER_ENV_11, // #11 Envelope, 4 1/2 by 10 3/8 inches | |
708 | wxPAPER_ENV_12, // #12 Envelope, 4 3/4 by 11 inches | |
709 | wxPAPER_ENV_14, // #14 Envelope, 5 by 11 1/2 inches | |
710 | wxPAPER_ENV_DL, // DL Envelope, 110 by 220 millimeters | |
711 | wxPAPER_ENV_C5, // C5 Envelope, 162 by 229 millimeters | |
712 | wxPAPER_ENV_C3, // C3 Envelope, 324 by 458 millimeters | |
713 | wxPAPER_ENV_C4, // C4 Envelope, 229 by 324 millimeters | |
714 | wxPAPER_ENV_C6, // C6 Envelope, 114 by 162 millimeters | |
715 | wxPAPER_ENV_C65, // C65 Envelope, 114 by 229 millimeters | |
716 | wxPAPER_ENV_B4, // B4 Envelope, 250 by 353 millimeters | |
717 | wxPAPER_ENV_B5, // B5 Envelope, 176 by 250 millimeters | |
718 | wxPAPER_ENV_B6, // B6 Envelope, 176 by 125 millimeters | |
719 | wxPAPER_ENV_ITALY, // Italy Envelope, 110 by 230 millimeters | |
720 | wxPAPER_ENV_MONARCH, // Monarch Envelope, 3 7/8 by 7 1/2 inches | |
721 | wxPAPER_ENV_PERSONAL, // 6 3/4 Envelope, 3 5/8 by 6 1/2 inches | |
722 | wxPAPER_FANFOLD_US, // US Std Fanfold, 14 7/8 by 11 inches | |
723 | wxPAPER_FANFOLD_STD_GERMAN, // German Std Fanfold, 8 1/2 by 12 inches | |
724 | wxPAPER_FANFOLD_LGL_GERMAN, // German Legal Fanfold, 8 1/2 by 13 inches | |
725 | ||
726 | wxPAPER_ISO_B4, // B4 (ISO) 250 x 353 mm | |
727 | wxPAPER_JAPANESE_POSTCARD, // Japanese Postcard 100 x 148 mm | |
728 | wxPAPER_9X11, // 9 x 11 in | |
729 | wxPAPER_10X11, // 10 x 11 in | |
730 | wxPAPER_15X11, // 15 x 11 in | |
731 | wxPAPER_ENV_INVITE, // Envelope Invite 220 x 220 mm | |
732 | wxPAPER_LETTER_EXTRA, // Letter Extra 9 \275 x 12 in | |
733 | wxPAPER_LEGAL_EXTRA, // Legal Extra 9 \275 x 15 in | |
734 | wxPAPER_TABLOID_EXTRA, // Tabloid Extra 11.69 x 18 in | |
735 | wxPAPER_A4_EXTRA, // A4 Extra 9.27 x 12.69 in | |
736 | wxPAPER_LETTER_TRANSVERSE, // Letter Transverse 8 \275 x 11 in | |
737 | wxPAPER_A4_TRANSVERSE, // A4 Transverse 210 x 297 mm | |
738 | wxPAPER_LETTER_EXTRA_TRANSVERSE, // Letter Extra Transverse 9\275 x 12 in | |
739 | wxPAPER_A_PLUS, // SuperA/SuperA/A4 227 x 356 mm | |
740 | wxPAPER_B_PLUS, // SuperB/SuperB/A3 305 x 487 mm | |
741 | wxPAPER_LETTER_PLUS, // Letter Plus 8.5 x 12.69 in | |
742 | wxPAPER_A4_PLUS, // A4 Plus 210 x 330 mm | |
743 | wxPAPER_A5_TRANSVERSE, // A5 Transverse 148 x 210 mm | |
744 | wxPAPER_B5_TRANSVERSE, // B5 (JIS) Transverse 182 x 257 mm | |
745 | wxPAPER_A3_EXTRA, // A3 Extra 322 x 445 mm | |
746 | wxPAPER_A5_EXTRA, // A5 Extra 174 x 235 mm | |
747 | wxPAPER_B5_EXTRA, // B5 (ISO) Extra 201 x 276 mm | |
748 | wxPAPER_A2, // A2 420 x 594 mm | |
749 | wxPAPER_A3_TRANSVERSE, // A3 Transverse 297 x 420 mm | |
750 | wxPAPER_A3_EXTRA_TRANSVERSE // A3 Extra Transverse 322 x 445 mm | |
751 | ||
752 | } wxPaperSize ; | |
753 | ||
bb0054cd RD |
754 | typedef enum { |
755 | wxDUPLEX_SIMPLEX, // Non-duplex | |
756 | wxDUPLEX_HORIZONTAL, | |
757 | wxDUPLEX_VERTICAL | |
758 | } wxDuplexMode; | |
759 | ||
cf694132 RD |
760 | |
761 | ||
7bf85405 RD |
762 | #define FALSE 0 |
763 | #define false 0 | |
764 | #define TRUE 1 | |
765 | #define true 1 | |
766 | ||
af309447 | 767 | const char* wxVERSION_STRING; |
7bf85405 RD |
768 | |
769 | //--------------------------------------------------------------------------- | |
770 | //--------------------------------------------------------------------------- | |
771 | ||
772 | /* | |
773 | * Event types | |
774 | * | |
775 | */ | |
776 | enum wxEventType { | |
777 | wxEVT_NULL = 0, | |
778 | wxEVT_FIRST = 10000, | |
779 | ||
780 | // New names | |
781 | wxEVT_COMMAND_BUTTON_CLICKED, | |
782 | wxEVT_COMMAND_CHECKBOX_CLICKED, | |
783 | wxEVT_COMMAND_CHOICE_SELECTED, | |
784 | wxEVT_COMMAND_LISTBOX_SELECTED, | |
785 | wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, | |
786 | wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, | |
3af4e610 | 787 | wxEVT_COMMAND_SPINCTRL_UPDATED, |
7bf85405 RD |
788 | wxEVT_COMMAND_TEXT_UPDATED, |
789 | wxEVT_COMMAND_TEXT_ENTER, | |
790 | wxEVT_COMMAND_MENU_SELECTED, | |
791 | wxEVT_COMMAND_SLIDER_UPDATED, | |
792 | wxEVT_COMMAND_RADIOBOX_SELECTED, | |
793 | wxEVT_COMMAND_RADIOBUTTON_SELECTED, | |
794 | // wxEVT_COMMAND_SCROLLBAR_UPDATED is now obsolete since we use wxEVT_SCROLL... events | |
795 | wxEVT_COMMAND_SCROLLBAR_UPDATED, | |
796 | wxEVT_COMMAND_VLBOX_SELECTED, | |
797 | wxEVT_COMMAND_COMBOBOX_SELECTED, | |
798 | wxEVT_COMMAND_TOOL_CLICKED, | |
799 | wxEVT_COMMAND_TOOL_RCLICKED, | |
800 | wxEVT_COMMAND_TOOL_ENTER, | |
801 | wxEVT_SET_FOCUS, | |
802 | wxEVT_KILL_FOCUS, | |
803 | ||
804 | /* Mouse event types */ | |
805 | wxEVT_LEFT_DOWN, | |
806 | wxEVT_LEFT_UP, | |
807 | wxEVT_MIDDLE_DOWN, | |
808 | wxEVT_MIDDLE_UP, | |
809 | wxEVT_RIGHT_DOWN, | |
810 | wxEVT_RIGHT_UP, | |
811 | wxEVT_MOTION, | |
812 | wxEVT_ENTER_WINDOW, | |
813 | wxEVT_LEAVE_WINDOW, | |
814 | wxEVT_LEFT_DCLICK, | |
815 | wxEVT_MIDDLE_DCLICK, | |
816 | wxEVT_RIGHT_DCLICK, | |
817 | ||
818 | // Non-client mouse events | |
819 | wxEVT_NC_LEFT_DOWN = wxEVT_FIRST + 100, | |
820 | wxEVT_NC_LEFT_UP, | |
821 | wxEVT_NC_MIDDLE_DOWN, | |
822 | wxEVT_NC_MIDDLE_UP, | |
823 | wxEVT_NC_RIGHT_DOWN, | |
824 | wxEVT_NC_RIGHT_UP, | |
825 | wxEVT_NC_MOTION, | |
826 | wxEVT_NC_ENTER_WINDOW, | |
827 | wxEVT_NC_LEAVE_WINDOW, | |
828 | wxEVT_NC_LEFT_DCLICK, | |
829 | wxEVT_NC_MIDDLE_DCLICK, | |
830 | wxEVT_NC_RIGHT_DCLICK, | |
831 | ||
832 | /* Character input event type */ | |
833 | wxEVT_CHAR, | |
8bf5d46e RD |
834 | wxEVT_KEY_DOWN, |
835 | wxEVT_KEY_UP, | |
836 | wxEVT_CHAR_HOOK, | |
7bf85405 RD |
837 | |
838 | /* | |
839 | * Scrollbar event identifiers | |
840 | */ | |
841 | wxEVT_SCROLL_TOP, | |
842 | wxEVT_SCROLL_BOTTOM, | |
843 | wxEVT_SCROLL_LINEUP, | |
844 | wxEVT_SCROLL_LINEDOWN, | |
845 | wxEVT_SCROLL_PAGEUP, | |
846 | wxEVT_SCROLL_PAGEDOWN, | |
847 | wxEVT_SCROLL_THUMBTRACK, | |
26b9cf27 | 848 | wxEVT_SCROLL_THUMBRELEASE, |
7bf85405 | 849 | |
bb0054cd RD |
850 | /* |
851 | * Scrolled Window | |
852 | */ | |
853 | wxEVT_SCROLLWIN_TOP, | |
854 | wxEVT_SCROLLWIN_BOTTOM, | |
855 | wxEVT_SCROLLWIN_LINEUP, | |
856 | wxEVT_SCROLLWIN_LINEDOWN, | |
857 | wxEVT_SCROLLWIN_PAGEUP, | |
858 | wxEVT_SCROLLWIN_PAGEDOWN, | |
859 | wxEVT_SCROLLWIN_THUMBTRACK, | |
26b9cf27 | 860 | wxEVT_SCROLLWIN_THUMBRELEASE, |
bb0054cd | 861 | |
7bf85405 RD |
862 | wxEVT_SIZE = wxEVT_FIRST + 200, |
863 | wxEVT_MOVE, | |
864 | wxEVT_CLOSE_WINDOW, | |
865 | wxEVT_END_SESSION, | |
866 | wxEVT_QUERY_END_SESSION, | |
867 | wxEVT_ACTIVATE_APP, | |
868 | wxEVT_POWER, | |
7bf85405 RD |
869 | wxEVT_ACTIVATE, |
870 | wxEVT_CREATE, | |
871 | wxEVT_DESTROY, | |
872 | wxEVT_SHOW, | |
873 | wxEVT_ICONIZE, | |
874 | wxEVT_MAXIMIZE, | |
875 | wxEVT_MOUSE_CAPTURE_CHANGED, | |
876 | wxEVT_PAINT, | |
877 | wxEVT_ERASE_BACKGROUND, | |
878 | wxEVT_NC_PAINT, | |
879 | wxEVT_PAINT_ICON, | |
880 | wxEVT_MENU_CHAR, | |
881 | wxEVT_MENU_INIT, | |
882 | wxEVT_MENU_HIGHLIGHT, | |
883 | wxEVT_POPUP_MENU_INIT, | |
884 | wxEVT_CONTEXT_MENU, | |
885 | wxEVT_SYS_COLOUR_CHANGED, | |
886 | wxEVT_SETTING_CHANGED, | |
887 | wxEVT_QUERY_NEW_PALETTE, | |
888 | wxEVT_PALETTE_CHANGED, | |
889 | wxEVT_JOY_BUTTON_DOWN, | |
890 | wxEVT_JOY_BUTTON_UP, | |
891 | wxEVT_JOY_MOVE, | |
892 | wxEVT_JOY_ZMOVE, | |
893 | wxEVT_DROP_FILES, | |
894 | wxEVT_DRAW_ITEM, | |
895 | wxEVT_MEASURE_ITEM, | |
896 | wxEVT_COMPARE_ITEM, | |
897 | wxEVT_INIT_DIALOG, | |
898 | wxEVT_IDLE, | |
899 | wxEVT_UPDATE_UI, | |
900 | ||
bb0054cd | 901 | |
7bf85405 RD |
902 | /* Generic command events */ |
903 | // Note: a click is a higher-level event | |
904 | // than button down/up | |
905 | wxEVT_COMMAND_LEFT_CLICK, | |
906 | wxEVT_COMMAND_LEFT_DCLICK, | |
907 | wxEVT_COMMAND_RIGHT_CLICK, | |
908 | wxEVT_COMMAND_RIGHT_DCLICK, | |
909 | wxEVT_COMMAND_SET_FOCUS, | |
910 | wxEVT_COMMAND_KILL_FOCUS, | |
911 | wxEVT_COMMAND_ENTER, | |
912 | ||
913 | /* Tree control event types */ | |
914 | wxEVT_COMMAND_TREE_BEGIN_DRAG, | |
915 | wxEVT_COMMAND_TREE_BEGIN_RDRAG, | |
916 | wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, | |
917 | wxEVT_COMMAND_TREE_END_LABEL_EDIT, | |
918 | wxEVT_COMMAND_TREE_DELETE_ITEM, | |
919 | wxEVT_COMMAND_TREE_GET_INFO, | |
920 | wxEVT_COMMAND_TREE_SET_INFO, | |
921 | wxEVT_COMMAND_TREE_ITEM_EXPANDED, | |
922 | wxEVT_COMMAND_TREE_ITEM_EXPANDING, | |
630d84f2 RD |
923 | wxEVT_COMMAND_TREE_ITEM_COLLAPSED, |
924 | wxEVT_COMMAND_TREE_ITEM_COLLAPSING, | |
7bf85405 RD |
925 | wxEVT_COMMAND_TREE_SEL_CHANGED, |
926 | wxEVT_COMMAND_TREE_SEL_CHANGING, | |
927 | wxEVT_COMMAND_TREE_KEY_DOWN, | |
2abc0a0f RD |
928 | wxEVT_COMMAND_TREE_ITEM_ACTIVATED, |
929 | wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, | |
930 | wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, | |
7bf85405 RD |
931 | |
932 | /* List control event types */ | |
933 | wxEVT_COMMAND_LIST_BEGIN_DRAG, | |
934 | wxEVT_COMMAND_LIST_BEGIN_RDRAG, | |
935 | wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, | |
936 | wxEVT_COMMAND_LIST_END_LABEL_EDIT, | |
937 | wxEVT_COMMAND_LIST_DELETE_ITEM, | |
938 | wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, | |
939 | wxEVT_COMMAND_LIST_GET_INFO, | |
940 | wxEVT_COMMAND_LIST_SET_INFO, | |
941 | wxEVT_COMMAND_LIST_ITEM_SELECTED, | |
942 | wxEVT_COMMAND_LIST_ITEM_DESELECTED, | |
943 | wxEVT_COMMAND_LIST_KEY_DOWN, | |
944 | wxEVT_COMMAND_LIST_INSERT_ITEM, | |
945 | wxEVT_COMMAND_LIST_COL_CLICK, | |
bb0054cd | 946 | wxEVT_COMMAND_LIST_ITEM_ACTIVATED, |
2f90df85 RD |
947 | wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, |
948 | wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, | |
949 | ||
7bf85405 RD |
950 | |
951 | /* Tab and notebook control event types */ | |
952 | wxEVT_COMMAND_TAB_SEL_CHANGED, | |
953 | wxEVT_COMMAND_TAB_SEL_CHANGING, | |
954 | wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, | |
bb0054cd RD |
955 | wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, |
956 | ||
957 | /* splitter window */ | |
958 | wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, | |
959 | wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, | |
960 | wxEVT_COMMAND_SPLITTER_UNSPLIT, | |
961 | wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, | |
08127323 | 962 | |
2f90df85 RD |
963 | wxEVT_NAVIGATION_KEY, |
964 | ||
f6bcfd97 BP |
965 | wxEVT_TIMER, |
966 | ||
c368d904 RD |
967 | wxEVT_END_PROCESS, |
968 | ||
7bf85405 RD |
969 | }; |
970 | ||
971 | ||
972 | ||
973 | ||
bb0054cd | 974 | //---------------------------------------------------------------------- |