]>
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, |
0122b7e3 | 194 | wxPOPUP_WINDOW, |
7bf85405 RD |
195 | wxHORIZONTAL, |
196 | wxVERTICAL, | |
197 | wxBOTH, | |
198 | wxCENTER_FRAME, | |
1afc06c2 RD |
199 | wxCENTRE_ON_SCREEN, |
200 | wxCENTER_ON_SCREEN, | |
201 | ||
7bf85405 RD |
202 | wxSTAY_ON_TOP, |
203 | wxICONIZE, | |
204 | wxMINIMIZE, | |
205 | wxMAXIMIZE, | |
206 | wxTHICK_FRAME, | |
207 | wxSYSTEM_MENU, | |
208 | wxMINIMIZE_BOX, | |
209 | wxMAXIMIZE_BOX, | |
210 | wxTINY_CAPTION_HORIZ, | |
211 | wxTINY_CAPTION_VERT, | |
212 | wxRESIZE_BOX, | |
213 | wxRESIZE_BORDER, | |
214 | wxDIALOG_MODAL, | |
215 | wxDIALOG_MODELESS, | |
25832b3f | 216 | wxDIALOG_NO_PARENT, |
7bf85405 RD |
217 | wxDEFAULT_FRAME_STYLE, |
218 | wxDEFAULT_DIALOG_STYLE, | |
b8b8dda7 RD |
219 | |
220 | wxFRAME_TOOL_WINDOW, | |
bb0054cd | 221 | wxFRAME_FLOAT_ON_PARENT, |
4c9993c3 | 222 | wxFRAME_NO_WINDOW_MENU, |
1b62f00d | 223 | wxFRAME_NO_TASKBAR, |
4f3449b4 | 224 | |
1afc06c2 RD |
225 | wxED_CLIENT_MARGIN, |
226 | wxED_BUTTONS_BOTTOM, | |
227 | wxED_BUTTONS_RIGHT, | |
228 | wxED_STATIC_LINE, | |
229 | wxEXT_DIALOG_STYLE, | |
bb0054cd | 230 | |
08127323 | 231 | wxCLIP_CHILDREN, |
edf2f43e | 232 | wxCLIP_SIBLINGS, |
b8b8dda7 | 233 | |
7bf85405 RD |
234 | wxRETAINED, |
235 | wxBACKINGSTORE, | |
b96c7a38 | 236 | |
7bf85405 RD |
237 | wxTB_HORIZONTAL, |
238 | wxTB_VERTICAL, | |
b96c7a38 | 239 | wxTB_3DBUTTONS, |
9c039d08 | 240 | wxTB_FLAT, |
f0261a72 | 241 | wxTB_DOCKABLE, |
b96c7a38 RD |
242 | wxTB_NOICONS, |
243 | wxTB_TEXT, | |
ffd990f6 RD |
244 | wxTB_NODIVIDER, |
245 | wxTB_NOALIGN, | |
b96c7a38 | 246 | |
7bf85405 RD |
247 | wxCOLOURED, |
248 | wxFIXED_LENGTH, | |
249 | wxALIGN_LEFT, | |
be2577e4 RD |
250 | wxALIGN_CENTER_HORIZONTAL, |
251 | wxALIGN_CENTRE_HORIZONTAL, | |
7bf85405 | 252 | wxALIGN_RIGHT, |
2f90df85 | 253 | wxALIGN_BOTTOM, |
be2577e4 RD |
254 | wxALIGN_CENTER_VERTICAL, |
255 | wxALIGN_CENTRE_VERTICAL, | |
2f90df85 | 256 | wxALIGN_TOP, |
be2577e4 RD |
257 | wxALIGN_CENTER, |
258 | wxALIGN_CENTRE, | |
259 | wxSHAPED, | |
1b62f00d RD |
260 | wxADJUST_MINSIZE, |
261 | ||
7bf85405 RD |
262 | wxLB_NEEDED_SB, |
263 | wxLB_ALWAYS_SB, | |
264 | wxLB_SORT, | |
265 | wxLB_SINGLE, | |
266 | wxLB_MULTIPLE, | |
267 | wxLB_EXTENDED, | |
268 | wxLB_OWNERDRAW, | |
269 | wxLB_HSCROLL, | |
270 | wxPROCESS_ENTER, | |
271 | wxPASSWORD, | |
b1e930a5 | 272 | |
7bf85405 RD |
273 | wxTE_READONLY, |
274 | wxTE_MULTILINE, | |
2f4e9287 RD |
275 | wxTE_PROCESS_TAB, |
276 | wxTE_RICH, | |
68320e40 | 277 | wxTE_RICH2, |
06c0fba4 | 278 | wxTE_NO_VSCROLL, |
2f4e9287 RD |
279 | wxTE_AUTO_SCROLL, |
280 | wxTE_PROCESS_ENTER, | |
281 | wxTE_PASSWORD, | |
c7e7022c | 282 | wxTE_AUTO_URL, |
b1e930a5 | 283 | wxTE_NOHIDESEL, |
2f4e9287 RD |
284 | wxTE_DONTWRAP, |
285 | wxTE_LINEWRAP, | |
286 | wxTE_WORDWRAP, | |
b1e930a5 | 287 | |
7bf85405 RD |
288 | wxCB_SIMPLE, |
289 | wxCB_DROPDOWN, | |
290 | wxCB_SORT, | |
291 | wxCB_READONLY, | |
292 | wxRA_HORIZONTAL, | |
293 | wxRA_VERTICAL, | |
ed175610 RD |
294 | wxRA_SPECIFY_ROWS, |
295 | wxRA_SPECIFY_COLS, | |
7bf85405 RD |
296 | wxRB_GROUP, |
297 | wxGA_PROGRESSBAR, | |
298 | wxGA_HORIZONTAL, | |
299 | wxGA_VERTICAL, | |
bb0054cd | 300 | wxGA_SMOOTH, |
7bf85405 RD |
301 | wxSL_HORIZONTAL, |
302 | wxSL_VERTICAL, | |
303 | wxSL_AUTOTICKS, | |
304 | wxSL_LABELS, | |
305 | wxSL_LEFT, | |
306 | wxSL_TOP, | |
307 | wxSL_RIGHT, | |
308 | wxSL_BOTTOM, | |
309 | wxSL_BOTH, | |
310 | wxSL_SELRANGE, | |
311 | wxSB_HORIZONTAL, | |
312 | wxSB_VERTICAL, | |
cf694132 | 313 | wxST_SIZEGRIP, |
2abc0a0f | 314 | wxST_NO_AUTORESIZE, |
203c2f9a | 315 | |
7bf85405 | 316 | wxBU_NOAUTODRAW, |
203c2f9a RD |
317 | wxBU_AUTODRAW, |
318 | wxBU_LEFT, | |
319 | wxBU_TOP, | |
320 | wxBU_RIGHT, | |
321 | wxBU_BOTTOM, | |
322 | wxBU_EXACTFIT, | |
323 | ||
7bf85405 RD |
324 | wxSP_VERTICAL, |
325 | wxSP_HORIZONTAL, | |
326 | wxSP_ARROW_KEYS, | |
327 | wxSP_WRAP, | |
328 | wxSP_NOBORDER, | |
329 | wxSP_3D, | |
1b62f00d RD |
330 | wxSP_3DSASH, |
331 | wxSP_3DBORDER, | |
332 | wxSP_FULLSASH, | |
7bf85405 | 333 | wxSP_BORDER, |
1dec68aa RD |
334 | wxSP_LIVE_UPDATE, |
335 | wxSP_PERMIT_UNSPLIT, | |
7bf85405 RD |
336 | wxFLOOD_SURFACE, |
337 | wxFLOOD_BORDER, | |
338 | wxODDEVEN_RULE, | |
339 | wxWINDING_RULE, | |
340 | wxTOOL_TOP, | |
341 | wxTOOL_BOTTOM, | |
342 | wxTOOL_LEFT, | |
343 | wxTOOL_RIGHT, | |
344 | wxOK, | |
345 | wxYES_NO, | |
346 | wxCANCEL, | |
347 | wxYES, | |
348 | wxNO, | |
1afc06c2 RD |
349 | wxNO_DEFAULT, |
350 | wxYES_DEFAULT, | |
7bf85405 RD |
351 | wxICON_EXCLAMATION, |
352 | wxICON_HAND, | |
353 | wxICON_QUESTION, | |
354 | wxICON_INFORMATION, | |
355 | wxICON_STOP, | |
356 | wxICON_ASTERISK, | |
357 | wxICON_MASK, | |
1afc06c2 RD |
358 | wxICON_WARNING, |
359 | wxICON_ERROR, | |
360 | ||
361 | wxFORWARD, | |
362 | wxBACKWARD, | |
363 | wxRESET, | |
364 | wxHELP, | |
365 | wxMORE, | |
366 | wxSETUP, | |
367 | ||
f3d9dc1d | 368 | |
7bf85405 RD |
369 | wxCENTRE, |
370 | wxCENTER, | |
371 | wxSIZE_AUTO_WIDTH, | |
372 | wxSIZE_AUTO_HEIGHT, | |
373 | wxSIZE_AUTO, | |
374 | wxSIZE_USE_EXISTING, | |
375 | wxSIZE_ALLOW_MINUS_ONE, | |
7bf85405 RD |
376 | wxPORTRAIT, |
377 | wxLANDSCAPE, | |
bb0054cd RD |
378 | wxPRINT_QUALITY_HIGH, |
379 | wxPRINT_QUALITY_MEDIUM, | |
380 | wxPRINT_QUALITY_LOW, | |
381 | wxPRINT_QUALITY_DRAFT, | |
26e335b8 | 382 | |
3eb221f6 RD |
383 | wxID_ANY, |
384 | wxID_SEPARATOR, | |
385 | ||
7bf85405 RD |
386 | wxID_OPEN, |
387 | wxID_CLOSE, | |
388 | wxID_NEW, | |
389 | wxID_SAVE, | |
390 | wxID_SAVEAS, | |
391 | wxID_REVERT, | |
392 | wxID_EXIT, | |
393 | wxID_UNDO, | |
394 | wxID_REDO, | |
395 | wxID_HELP, | |
396 | wxID_PRINT, | |
397 | wxID_PRINT_SETUP, | |
398 | wxID_PREVIEW, | |
399 | wxID_ABOUT, | |
400 | wxID_HELP_CONTENTS, | |
401 | wxID_HELP_COMMANDS, | |
402 | wxID_HELP_PROCEDURES, | |
403 | wxID_HELP_CONTEXT, | |
b5a5d647 | 404 | wxID_CLOSE_ALL, |
26e335b8 | 405 | |
7bf85405 RD |
406 | wxID_CUT, |
407 | wxID_COPY, | |
408 | wxID_PASTE, | |
409 | wxID_CLEAR, | |
410 | wxID_FIND, | |
d56cebe7 RD |
411 | wxID_DUPLICATE, |
412 | wxID_SELECTALL, | |
26e335b8 | 413 | |
7bf85405 RD |
414 | wxID_FILE1, |
415 | wxID_FILE2, | |
416 | wxID_FILE3, | |
417 | wxID_FILE4, | |
418 | wxID_FILE5, | |
419 | wxID_FILE6, | |
420 | wxID_FILE7, | |
421 | wxID_FILE8, | |
422 | wxID_FILE9, | |
26e335b8 | 423 | |
7bf85405 RD |
424 | wxID_OK, |
425 | wxID_CANCEL, | |
426 | wxID_APPLY, | |
427 | wxID_YES, | |
428 | wxID_NO, | |
cf694132 | 429 | wxID_STATIC, |
f3d9dc1d RD |
430 | wxID_FORWARD, |
431 | wxID_BACKWARD, | |
26e335b8 | 432 | wxID_DEFAULT, |
f3d9dc1d | 433 | wxID_MORE, |
26e335b8 RD |
434 | wxID_SETUP, |
435 | wxID_RESET, | |
436 | wxID_CONTEXT_HELP, | |
437 | wxID_YESTOALL, | |
438 | wxID_NOTOALL, | |
439 | wxID_ABORT, | |
440 | wxID_RETRY, | |
441 | wxID_IGNORE, | |
f3d9dc1d | 442 | |
7bf85405 RD |
443 | wxOPEN, |
444 | wxSAVE, | |
445 | wxHIDE_READONLY, | |
446 | wxOVERWRITE_PROMPT, | |
2abc0a0f | 447 | wxFILE_MUST_EXIST, |
f6bcfd97 | 448 | wxMULTIPLE, |
1b62f00d | 449 | wxCHANGE_DIR, |
7bf85405 RD |
450 | |
451 | wxACCEL_ALT, | |
452 | wxACCEL_CTRL, | |
453 | wxACCEL_SHIFT, | |
f6bcfd97 | 454 | wxACCEL_NORMAL, |
bb0054cd RD |
455 | |
456 | wxPD_AUTO_HIDE, | |
457 | wxPD_APP_MODAL, | |
458 | wxPD_CAN_ABORT, | |
a08cbc01 RD |
459 | wxPD_ELAPSED_TIME, |
460 | wxPD_ESTIMATED_TIME, | |
461 | wxPD_REMAINING_TIME, | |
bb0054cd | 462 | |
7cdaed0b | 463 | wxDD_NEW_DIR_BUTTON, |
daa3eac9 | 464 | wxDD_DEFAULT_STYLE, |
7cdaed0b | 465 | |
8bf5d46e | 466 | wxMENU_TEAROFF, |
1afc06c2 | 467 | wxMB_DOCKABLE, |
8bf5d46e RD |
468 | wxNO_FULL_REPAINT_ON_RESIZE, |
469 | ||
1afc06c2 RD |
470 | wxLEFT, |
471 | wxRIGHT, | |
472 | wxUP, | |
473 | wxDOWN, | |
474 | wxALL, | |
475 | wxTOP, | |
476 | wxBOTTOM, | |
477 | ||
478 | wxNORTH, | |
479 | wxSOUTH, | |
480 | wxEAST, | |
481 | wxWEST, | |
482 | ||
483 | wxSTRETCH_NOT, | |
484 | wxSHRINK, | |
485 | wxGROW, | |
486 | wxEXPAND, | |
487 | ||
488 | wxNB_FIXEDWIDTH, | |
f0261a72 RD |
489 | wxNB_LEFT, |
490 | wxNB_RIGHT, | |
491 | wxNB_BOTTOM, | |
e83991bf | 492 | wxNB_MULTILINE, |
1afc06c2 RD |
493 | |
494 | wxLI_HORIZONTAL, | |
495 | wxLI_VERTICAL, | |
496 | ||
185d7c3e RD |
497 | wxJOYSTICK1, |
498 | wxJOYSTICK2, | |
499 | wxJOY_BUTTON1, | |
500 | wxJOY_BUTTON2, | |
501 | wxJOY_BUTTON3, | |
502 | wxJOY_BUTTON4, | |
503 | wxJOY_BUTTON_ANY, | |
504 | ||
d1679124 | 505 | wxWS_EX_VALIDATE_RECURSIVELY, |
0122b7e3 | 506 | wxWS_EX_BLOCK_EVENTS, |
78e8819c | 507 | wxWS_EX_TRANSIENT, |
ecc08ead RD |
508 | |
509 | // Mapping modes (as per Windows) | |
510 | wxMM_TEXT, | |
511 | wxMM_LOMETRIC, | |
512 | wxMM_HIMETRIC, | |
513 | wxMM_LOENGLISH, | |
514 | wxMM_HIENGLISH, | |
515 | wxMM_TWIPS, | |
516 | wxMM_ISOTROPIC, | |
517 | wxMM_ANISOTROPIC, | |
518 | wxMM_POINTS, | |
519 | wxMM_METRIC, | |
520 | ||
fe953afb RD |
521 | wxTIMER_CONTINUOUS, |
522 | wxTIMER_ONE_SHOT, | |
3eb221f6 RD |
523 | |
524 | // the symbolic names for the mouse buttons | |
525 | wxMOUSE_BTN_ANY, | |
526 | wxMOUSE_BTN_NONE, | |
527 | wxMOUSE_BTN_LEFT, | |
528 | wxMOUSE_BTN_MIDDLE, | |
529 | wxMOUSE_BTN_RIGHT, | |
530 | ||
7bf85405 RD |
531 | }; |
532 | ||
533 | ||
ebf4302c RD |
534 | enum wxBorder |
535 | { | |
536 | wxBORDER_DEFAULT, | |
537 | wxBORDER_NONE, | |
538 | wxBORDER_STATIC, | |
539 | wxBORDER_SIMPLE, | |
540 | wxBORDER_RAISED, | |
541 | wxBORDER_SUNKEN, | |
542 | wxBORDER_DOUBLE, | |
543 | wxBORDER_MASK, | |
544 | }; | |
545 | ||
546 | ||
cf694132 RD |
547 | // // Standard error codes |
548 | // enum ErrCode | |
549 | // { | |
550 | // ERR_PARAM = (-4000), | |
551 | // ERR_NODATA, | |
552 | // ERR_CANCEL, | |
553 | // ERR_SUCCESS = 0 | |
554 | // }; | |
7bf85405 RD |
555 | |
556 | ||
557 | enum { | |
558 | wxDEFAULT , | |
559 | wxDECORATIVE, | |
560 | wxROMAN, | |
561 | wxSCRIPT, | |
562 | wxSWISS, | |
563 | wxMODERN, | |
564 | wxTELETYPE, | |
565 | wxVARIABLE, | |
566 | wxFIXED, | |
567 | wxNORMAL, | |
568 | wxLIGHT, | |
569 | wxBOLD, | |
570 | wxITALIC, | |
571 | wxSLANT, | |
572 | wxSOLID, | |
573 | wxDOT, | |
574 | wxLONG_DASH, | |
575 | wxSHORT_DASH, | |
576 | wxDOT_DASH, | |
577 | wxUSER_DASH, | |
578 | wxTRANSPARENT, | |
579 | wxSTIPPLE, | |
580 | wxBDIAGONAL_HATCH, | |
581 | wxCROSSDIAG_HATCH, | |
582 | wxFDIAGONAL_HATCH, | |
583 | wxCROSS_HATCH, | |
584 | wxHORIZONTAL_HATCH, | |
585 | wxVERTICAL_HATCH, | |
586 | wxJOIN_BEVEL, | |
587 | wxJOIN_MITER, | |
588 | wxJOIN_ROUND, | |
589 | wxCAP_ROUND, | |
590 | wxCAP_PROJECTING, | |
591 | wxCAP_BUTT | |
592 | }; | |
593 | ||
594 | typedef enum { | |
595 | wxCLEAR, // 0 | |
596 | wxXOR, // src XOR dst | |
597 | wxINVERT, // NOT dst | |
598 | wxOR_REVERSE, // src OR (NOT dst) | |
599 | wxAND_REVERSE,// src AND (NOT dst) | |
600 | wxCOPY, // src | |
601 | wxAND, // src AND dst | |
602 | wxAND_INVERT, // (NOT src) AND dst | |
603 | wxNO_OP, // dst | |
604 | wxNOR, // (NOT src) AND (NOT dst) | |
605 | wxEQUIV, // (NOT src) XOR dst | |
606 | wxSRC_INVERT, // (NOT src) | |
607 | wxOR_INVERT, // (NOT src) OR dst | |
608 | wxNAND, // (NOT src) OR (NOT dst) | |
609 | wxOR, // src OR dst | |
610 | wxSET, // 1 | |
26b9cf27 RD |
611 | // wxSRC_OR, // source _bitmap_ OR destination |
612 | // wxSRC_AND // source _bitmap_ AND destination | |
7bf85405 RD |
613 | } form_ops_t; |
614 | ||
65fe3842 RD |
615 | enum wxKeyCode { |
616 | WXK_BACK = 8, | |
617 | WXK_TAB = 9, | |
618 | WXK_RETURN = 13, | |
619 | WXK_ESCAPE = 27, | |
620 | WXK_SPACE = 32, | |
621 | WXK_DELETE = 127, | |
622 | ||
623 | WXK_START = 300, | |
624 | WXK_LBUTTON, | |
625 | WXK_RBUTTON, | |
626 | WXK_CANCEL, | |
627 | WXK_MBUTTON, | |
628 | WXK_CLEAR, | |
629 | WXK_SHIFT, | |
630 | WXK_ALT, | |
631 | WXK_CONTROL, | |
632 | WXK_MENU, | |
633 | WXK_PAUSE, | |
634 | WXK_CAPITAL, | |
635 | WXK_PRIOR, /* Page up */ | |
636 | WXK_NEXT, /* Page down */ | |
637 | WXK_END, | |
638 | WXK_HOME, | |
639 | WXK_LEFT, | |
640 | WXK_UP, | |
641 | WXK_RIGHT, | |
642 | WXK_DOWN, | |
643 | WXK_SELECT, | |
644 | WXK_PRINT, | |
645 | WXK_EXECUTE, | |
646 | WXK_SNAPSHOT, | |
647 | WXK_INSERT, | |
648 | WXK_HELP, | |
649 | WXK_NUMPAD0, | |
650 | WXK_NUMPAD1, | |
651 | WXK_NUMPAD2, | |
652 | WXK_NUMPAD3, | |
653 | WXK_NUMPAD4, | |
654 | WXK_NUMPAD5, | |
655 | WXK_NUMPAD6, | |
656 | WXK_NUMPAD7, | |
657 | WXK_NUMPAD8, | |
658 | WXK_NUMPAD9, | |
659 | WXK_MULTIPLY, | |
660 | WXK_ADD, | |
661 | WXK_SEPARATOR, | |
662 | WXK_SUBTRACT, | |
663 | WXK_DECIMAL, | |
664 | WXK_DIVIDE, | |
665 | WXK_F1, | |
666 | WXK_F2, | |
667 | WXK_F3, | |
668 | WXK_F4, | |
669 | WXK_F5, | |
670 | WXK_F6, | |
671 | WXK_F7, | |
672 | WXK_F8, | |
673 | WXK_F9, | |
674 | WXK_F10, | |
675 | WXK_F11, | |
676 | WXK_F12, | |
677 | WXK_F13, | |
678 | WXK_F14, | |
679 | WXK_F15, | |
680 | WXK_F16, | |
681 | WXK_F17, | |
682 | WXK_F18, | |
683 | WXK_F19, | |
684 | WXK_F20, | |
685 | WXK_F21, | |
686 | WXK_F22, | |
687 | WXK_F23, | |
688 | WXK_F24, | |
689 | WXK_NUMLOCK, | |
690 | WXK_SCROLL, | |
691 | WXK_PAGEUP, | |
692 | WXK_PAGEDOWN, | |
693 | ||
694 | WXK_NUMPAD_SPACE, | |
695 | WXK_NUMPAD_TAB, | |
696 | WXK_NUMPAD_ENTER, | |
697 | WXK_NUMPAD_F1, | |
698 | WXK_NUMPAD_F2, | |
699 | WXK_NUMPAD_F3, | |
700 | WXK_NUMPAD_F4, | |
701 | WXK_NUMPAD_HOME, | |
702 | WXK_NUMPAD_LEFT, | |
703 | WXK_NUMPAD_UP, | |
704 | WXK_NUMPAD_RIGHT, | |
705 | WXK_NUMPAD_DOWN, | |
706 | WXK_NUMPAD_PRIOR, | |
707 | WXK_NUMPAD_PAGEUP, | |
708 | WXK_NUMPAD_NEXT, | |
709 | WXK_NUMPAD_PAGEDOWN, | |
710 | WXK_NUMPAD_END, | |
711 | WXK_NUMPAD_BEGIN, | |
712 | WXK_NUMPAD_INSERT, | |
713 | WXK_NUMPAD_DELETE, | |
714 | WXK_NUMPAD_EQUAL, | |
715 | WXK_NUMPAD_MULTIPLY, | |
716 | WXK_NUMPAD_ADD, | |
717 | WXK_NUMPAD_SEPARATOR, | |
718 | WXK_NUMPAD_SUBTRACT, | |
719 | WXK_NUMPAD_DECIMAL, | |
720 | WXK_NUMPAD_DIVIDE | |
721 | ||
7bf85405 RD |
722 | }; |
723 | ||
0a651eb8 RD |
724 | |
725 | // Bitmap flags | |
726 | enum wxBitmapType | |
727 | { | |
728 | wxBITMAP_TYPE_INVALID, // should be == 0 for compatibility! | |
729 | wxBITMAP_TYPE_BMP, | |
730 | wxBITMAP_TYPE_BMP_RESOURCE, | |
731 | wxBITMAP_TYPE_RESOURCE = wxBITMAP_TYPE_BMP_RESOURCE, | |
732 | wxBITMAP_TYPE_ICO, | |
733 | wxBITMAP_TYPE_ICO_RESOURCE, | |
734 | wxBITMAP_TYPE_CUR, | |
735 | wxBITMAP_TYPE_CUR_RESOURCE, | |
736 | wxBITMAP_TYPE_XBM, | |
737 | wxBITMAP_TYPE_XBM_DATA, | |
738 | wxBITMAP_TYPE_XPM, | |
739 | wxBITMAP_TYPE_XPM_DATA, | |
740 | wxBITMAP_TYPE_TIF, | |
741 | wxBITMAP_TYPE_TIF_RESOURCE, | |
742 | wxBITMAP_TYPE_GIF, | |
743 | wxBITMAP_TYPE_GIF_RESOURCE, | |
744 | wxBITMAP_TYPE_PNG, | |
745 | wxBITMAP_TYPE_PNG_RESOURCE, | |
746 | wxBITMAP_TYPE_JPEG, | |
747 | wxBITMAP_TYPE_JPEG_RESOURCE, | |
748 | wxBITMAP_TYPE_PNM, | |
749 | wxBITMAP_TYPE_PNM_RESOURCE, | |
750 | wxBITMAP_TYPE_PCX, | |
751 | wxBITMAP_TYPE_PCX_RESOURCE, | |
752 | wxBITMAP_TYPE_PICT, | |
753 | wxBITMAP_TYPE_PICT_RESOURCE, | |
754 | wxBITMAP_TYPE_ICON, | |
755 | wxBITMAP_TYPE_ICON_RESOURCE, | |
68320e40 | 756 | wxBITMAP_TYPE_ANI, |
ce914f73 | 757 | wxBITMAP_TYPE_IFF, |
0a651eb8 RD |
758 | wxBITMAP_TYPE_MACCURSOR, |
759 | wxBITMAP_TYPE_MACCURSOR_RESOURCE, | |
760 | wxBITMAP_TYPE_ANY = 50 | |
761 | }; | |
762 | ||
763 | ||
764 | ||
765 | ||
766 | // Standard cursors | |
767 | enum wxStockCursor | |
768 | { | |
e9159fe8 | 769 | wxCURSOR_NONE, |
0a651eb8 | 770 | wxCURSOR_ARROW, |
e9159fe8 | 771 | wxCURSOR_RIGHT_ARROW, |
0a651eb8 RD |
772 | wxCURSOR_BULLSEYE, |
773 | wxCURSOR_CHAR, | |
774 | wxCURSOR_CROSS, | |
775 | wxCURSOR_HAND, | |
776 | wxCURSOR_IBEAM, | |
777 | wxCURSOR_LEFT_BUTTON, | |
778 | wxCURSOR_MAGNIFIER, | |
779 | wxCURSOR_MIDDLE_BUTTON, | |
780 | wxCURSOR_NO_ENTRY, | |
781 | wxCURSOR_PAINT_BRUSH, | |
782 | wxCURSOR_PENCIL, | |
783 | wxCURSOR_POINT_LEFT, | |
784 | wxCURSOR_POINT_RIGHT, | |
785 | wxCURSOR_QUESTION_ARROW, | |
786 | wxCURSOR_RIGHT_BUTTON, | |
787 | wxCURSOR_SIZENESW, | |
788 | wxCURSOR_SIZENS, | |
789 | wxCURSOR_SIZENWSE, | |
790 | wxCURSOR_SIZEWE, | |
791 | wxCURSOR_SIZING, | |
792 | wxCURSOR_SPRAYCAN, | |
793 | wxCURSOR_WAIT, | |
794 | wxCURSOR_WATCH, | |
795 | wxCURSOR_BLANK, | |
796 | wxCURSOR_DEFAULT, | |
0a651eb8 RD |
797 | wxCURSOR_ARROWWAIT, |
798 | wxCURSOR_MAX | |
799 | }; | |
7bf85405 RD |
800 | |
801 | ||
cf694132 RD |
802 | |
803 | typedef enum { | |
804 | wxPAPER_NONE, // Use specific dimensions | |
805 | wxPAPER_LETTER, // Letter, 8 1/2 by 11 inches | |
806 | wxPAPER_LEGAL, // Legal, 8 1/2 by 14 inches | |
807 | wxPAPER_A4, // A4 Sheet, 210 by 297 millimeters | |
808 | wxPAPER_CSHEET, // C Sheet, 17 by 22 inches | |
809 | wxPAPER_DSHEET, // D Sheet, 22 by 34 inches | |
810 | wxPAPER_ESHEET, // E Sheet, 34 by 44 inches | |
811 | wxPAPER_LETTERSMALL, // Letter Small, 8 1/2 by 11 inches | |
812 | wxPAPER_TABLOID, // Tabloid, 11 by 17 inches | |
813 | wxPAPER_LEDGER, // Ledger, 17 by 11 inches | |
814 | wxPAPER_STATEMENT, // Statement, 5 1/2 by 8 1/2 inches | |
815 | wxPAPER_EXECUTIVE, // Executive, 7 1/4 by 10 1/2 inches | |
816 | wxPAPER_A3, // A3 sheet, 297 by 420 millimeters | |
817 | wxPAPER_A4SMALL, // A4 small sheet, 210 by 297 millimeters | |
818 | wxPAPER_A5, // A5 sheet, 148 by 210 millimeters | |
819 | wxPAPER_B4, // B4 sheet, 250 by 354 millimeters | |
820 | wxPAPER_B5, // B5 sheet, 182-by-257-millimeter paper | |
821 | wxPAPER_FOLIO, // Folio, 8-1/2-by-13-inch paper | |
822 | wxPAPER_QUARTO, // Quarto, 215-by-275-millimeter paper | |
823 | wxPAPER_10X14, // 10-by-14-inch sheet | |
824 | wxPAPER_11X17, // 11-by-17-inch sheet | |
825 | wxPAPER_NOTE, // Note, 8 1/2 by 11 inches | |
826 | wxPAPER_ENV_9, // #9 Envelope, 3 7/8 by 8 7/8 inches | |
827 | wxPAPER_ENV_10, // #10 Envelope, 4 1/8 by 9 1/2 inches | |
828 | wxPAPER_ENV_11, // #11 Envelope, 4 1/2 by 10 3/8 inches | |
829 | wxPAPER_ENV_12, // #12 Envelope, 4 3/4 by 11 inches | |
830 | wxPAPER_ENV_14, // #14 Envelope, 5 by 11 1/2 inches | |
831 | wxPAPER_ENV_DL, // DL Envelope, 110 by 220 millimeters | |
832 | wxPAPER_ENV_C5, // C5 Envelope, 162 by 229 millimeters | |
833 | wxPAPER_ENV_C3, // C3 Envelope, 324 by 458 millimeters | |
834 | wxPAPER_ENV_C4, // C4 Envelope, 229 by 324 millimeters | |
835 | wxPAPER_ENV_C6, // C6 Envelope, 114 by 162 millimeters | |
836 | wxPAPER_ENV_C65, // C65 Envelope, 114 by 229 millimeters | |
837 | wxPAPER_ENV_B4, // B4 Envelope, 250 by 353 millimeters | |
838 | wxPAPER_ENV_B5, // B5 Envelope, 176 by 250 millimeters | |
839 | wxPAPER_ENV_B6, // B6 Envelope, 176 by 125 millimeters | |
840 | wxPAPER_ENV_ITALY, // Italy Envelope, 110 by 230 millimeters | |
841 | wxPAPER_ENV_MONARCH, // Monarch Envelope, 3 7/8 by 7 1/2 inches | |
842 | wxPAPER_ENV_PERSONAL, // 6 3/4 Envelope, 3 5/8 by 6 1/2 inches | |
843 | wxPAPER_FANFOLD_US, // US Std Fanfold, 14 7/8 by 11 inches | |
844 | wxPAPER_FANFOLD_STD_GERMAN, // German Std Fanfold, 8 1/2 by 12 inches | |
845 | wxPAPER_FANFOLD_LGL_GERMAN, // German Legal Fanfold, 8 1/2 by 13 inches | |
846 | ||
847 | wxPAPER_ISO_B4, // B4 (ISO) 250 x 353 mm | |
848 | wxPAPER_JAPANESE_POSTCARD, // Japanese Postcard 100 x 148 mm | |
849 | wxPAPER_9X11, // 9 x 11 in | |
850 | wxPAPER_10X11, // 10 x 11 in | |
851 | wxPAPER_15X11, // 15 x 11 in | |
852 | wxPAPER_ENV_INVITE, // Envelope Invite 220 x 220 mm | |
853 | wxPAPER_LETTER_EXTRA, // Letter Extra 9 \275 x 12 in | |
854 | wxPAPER_LEGAL_EXTRA, // Legal Extra 9 \275 x 15 in | |
855 | wxPAPER_TABLOID_EXTRA, // Tabloid Extra 11.69 x 18 in | |
856 | wxPAPER_A4_EXTRA, // A4 Extra 9.27 x 12.69 in | |
857 | wxPAPER_LETTER_TRANSVERSE, // Letter Transverse 8 \275 x 11 in | |
858 | wxPAPER_A4_TRANSVERSE, // A4 Transverse 210 x 297 mm | |
859 | wxPAPER_LETTER_EXTRA_TRANSVERSE, // Letter Extra Transverse 9\275 x 12 in | |
860 | wxPAPER_A_PLUS, // SuperA/SuperA/A4 227 x 356 mm | |
861 | wxPAPER_B_PLUS, // SuperB/SuperB/A3 305 x 487 mm | |
862 | wxPAPER_LETTER_PLUS, // Letter Plus 8.5 x 12.69 in | |
863 | wxPAPER_A4_PLUS, // A4 Plus 210 x 330 mm | |
864 | wxPAPER_A5_TRANSVERSE, // A5 Transverse 148 x 210 mm | |
865 | wxPAPER_B5_TRANSVERSE, // B5 (JIS) Transverse 182 x 257 mm | |
866 | wxPAPER_A3_EXTRA, // A3 Extra 322 x 445 mm | |
867 | wxPAPER_A5_EXTRA, // A5 Extra 174 x 235 mm | |
868 | wxPAPER_B5_EXTRA, // B5 (ISO) Extra 201 x 276 mm | |
869 | wxPAPER_A2, // A2 420 x 594 mm | |
870 | wxPAPER_A3_TRANSVERSE, // A3 Transverse 297 x 420 mm | |
871 | wxPAPER_A3_EXTRA_TRANSVERSE // A3 Extra Transverse 322 x 445 mm | |
872 | ||
873 | } wxPaperSize ; | |
874 | ||
bb0054cd RD |
875 | typedef enum { |
876 | wxDUPLEX_SIMPLEX, // Non-duplex | |
877 | wxDUPLEX_HORIZONTAL, | |
878 | wxDUPLEX_VERTICAL | |
879 | } wxDuplexMode; | |
880 | ||
cf694132 RD |
881 | |
882 | ||
e9159fe8 RD |
883 | // menu and toolbar item kinds |
884 | enum wxItemKind | |
885 | { | |
546bfbea VS |
886 | wxITEM_SEPARATOR = -1, |
887 | wxITEM_NORMAL, | |
888 | wxITEM_CHECK, | |
889 | wxITEM_RADIO, | |
890 | wxITEM_MAX | |
e9159fe8 RD |
891 | }; |
892 | ||
23bed520 RD |
893 | enum wxHitTest |
894 | { | |
895 | wxHT_NOWHERE, | |
896 | ||
897 | // scrollbar | |
898 | wxHT_SCROLLBAR_FIRST = wxHT_NOWHERE, | |
899 | wxHT_SCROLLBAR_ARROW_LINE_1, // left or upper arrow to scroll by line | |
900 | wxHT_SCROLLBAR_ARROW_LINE_2, // right or down | |
901 | wxHT_SCROLLBAR_ARROW_PAGE_1, // left or upper arrow to scroll by page | |
902 | wxHT_SCROLLBAR_ARROW_PAGE_2, // right or down | |
903 | wxHT_SCROLLBAR_THUMB, // on the thumb | |
904 | wxHT_SCROLLBAR_BAR_1, // bar to the left/above the thumb | |
905 | wxHT_SCROLLBAR_BAR_2, // bar to the right/below the thumb | |
906 | wxHT_SCROLLBAR_LAST, | |
907 | ||
908 | // window | |
909 | wxHT_WINDOW_OUTSIDE, // not in this window at all | |
910 | wxHT_WINDOW_INSIDE, // in the client area | |
911 | wxHT_WINDOW_VERT_SCROLLBAR, // on the vertical scrollbar | |
912 | wxHT_WINDOW_HORZ_SCROLLBAR, // on the horizontal scrollbar | |
913 | wxHT_WINDOW_CORNER, // on the corner between 2 scrollbars | |
914 | ||
915 | wxHT_MAX | |
916 | }; | |
917 | ||
918 | ||
919 | ||
7bf85405 RD |
920 | #define FALSE 0 |
921 | #define false 0 | |
922 | #define TRUE 1 | |
923 | #define true 1 | |
924 | ||
925 | ||
926 | //--------------------------------------------------------------------------- | |
927 | //--------------------------------------------------------------------------- | |
928 | ||
929 | /* | |
930 | * Event types | |
931 | * | |
932 | */ | |
933 | enum wxEventType { | |
934 | wxEVT_NULL = 0, | |
935 | wxEVT_FIRST = 10000, | |
936 | ||
937 | // New names | |
938 | wxEVT_COMMAND_BUTTON_CLICKED, | |
939 | wxEVT_COMMAND_CHECKBOX_CLICKED, | |
940 | wxEVT_COMMAND_CHOICE_SELECTED, | |
941 | wxEVT_COMMAND_LISTBOX_SELECTED, | |
942 | wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, | |
943 | wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, | |
3af4e610 | 944 | wxEVT_COMMAND_SPINCTRL_UPDATED, |
7bf85405 RD |
945 | wxEVT_COMMAND_TEXT_UPDATED, |
946 | wxEVT_COMMAND_TEXT_ENTER, | |
c7e7022c | 947 | wxEVT_COMMAND_TEXT_URL, |
00b6c4e3 | 948 | wxEVT_COMMAND_TEXT_MAXLEN, |
7bf85405 RD |
949 | wxEVT_COMMAND_MENU_SELECTED, |
950 | wxEVT_COMMAND_SLIDER_UPDATED, | |
951 | wxEVT_COMMAND_RADIOBOX_SELECTED, | |
952 | wxEVT_COMMAND_RADIOBUTTON_SELECTED, | |
953 | // wxEVT_COMMAND_SCROLLBAR_UPDATED is now obsolete since we use wxEVT_SCROLL... events | |
954 | wxEVT_COMMAND_SCROLLBAR_UPDATED, | |
955 | wxEVT_COMMAND_VLBOX_SELECTED, | |
956 | wxEVT_COMMAND_COMBOBOX_SELECTED, | |
957 | wxEVT_COMMAND_TOOL_CLICKED, | |
958 | wxEVT_COMMAND_TOOL_RCLICKED, | |
959 | wxEVT_COMMAND_TOOL_ENTER, | |
960 | wxEVT_SET_FOCUS, | |
961 | wxEVT_KILL_FOCUS, | |
7b7ac0ab | 962 | wxEVT_CHILD_FOCUS, |
d1679124 | 963 | wxEVT_MOUSEWHEEL, |
7bf85405 RD |
964 | |
965 | /* Mouse event types */ | |
966 | wxEVT_LEFT_DOWN, | |
967 | wxEVT_LEFT_UP, | |
968 | wxEVT_MIDDLE_DOWN, | |
969 | wxEVT_MIDDLE_UP, | |
970 | wxEVT_RIGHT_DOWN, | |
971 | wxEVT_RIGHT_UP, | |
972 | wxEVT_MOTION, | |
973 | wxEVT_ENTER_WINDOW, | |
974 | wxEVT_LEAVE_WINDOW, | |
975 | wxEVT_LEFT_DCLICK, | |
976 | wxEVT_MIDDLE_DCLICK, | |
977 | wxEVT_RIGHT_DCLICK, | |
978 | ||
6d26dc89 RD |
979 | wxEVT_MOUSE_CAPTURE_CHANGED, |
980 | ||
7bf85405 | 981 | // Non-client mouse events |
d1679124 | 982 | wxEVT_NC_LEFT_DOWN, |
7bf85405 RD |
983 | wxEVT_NC_LEFT_UP, |
984 | wxEVT_NC_MIDDLE_DOWN, | |
985 | wxEVT_NC_MIDDLE_UP, | |
986 | wxEVT_NC_RIGHT_DOWN, | |
987 | wxEVT_NC_RIGHT_UP, | |
988 | wxEVT_NC_MOTION, | |
989 | wxEVT_NC_ENTER_WINDOW, | |
990 | wxEVT_NC_LEAVE_WINDOW, | |
991 | wxEVT_NC_LEFT_DCLICK, | |
992 | wxEVT_NC_MIDDLE_DCLICK, | |
993 | wxEVT_NC_RIGHT_DCLICK, | |
994 | ||
203c2f9a RD |
995 | wxEVT_SET_CURSOR, |
996 | ||
7bf85405 RD |
997 | /* Character input event type */ |
998 | wxEVT_CHAR, | |
8bf5d46e RD |
999 | wxEVT_KEY_DOWN, |
1000 | wxEVT_KEY_UP, | |
1001 | wxEVT_CHAR_HOOK, | |
7bf85405 RD |
1002 | |
1003 | /* | |
1004 | * Scrollbar event identifiers | |
1005 | */ | |
1006 | wxEVT_SCROLL_TOP, | |
1007 | wxEVT_SCROLL_BOTTOM, | |
1008 | wxEVT_SCROLL_LINEUP, | |
1009 | wxEVT_SCROLL_LINEDOWN, | |
1010 | wxEVT_SCROLL_PAGEUP, | |
1011 | wxEVT_SCROLL_PAGEDOWN, | |
1012 | wxEVT_SCROLL_THUMBTRACK, | |
26b9cf27 | 1013 | wxEVT_SCROLL_THUMBRELEASE, |
83f3dd45 | 1014 | wxEVT_SCROLL_ENDSCROLL, |
7bf85405 | 1015 | |
bb0054cd RD |
1016 | /* |
1017 | * Scrolled Window | |
1018 | */ | |
1019 | wxEVT_SCROLLWIN_TOP, | |
1020 | wxEVT_SCROLLWIN_BOTTOM, | |
1021 | wxEVT_SCROLLWIN_LINEUP, | |
1022 | wxEVT_SCROLLWIN_LINEDOWN, | |
1023 | wxEVT_SCROLLWIN_PAGEUP, | |
1024 | wxEVT_SCROLLWIN_PAGEDOWN, | |
1025 | wxEVT_SCROLLWIN_THUMBTRACK, | |
26b9cf27 | 1026 | wxEVT_SCROLLWIN_THUMBRELEASE, |
bb0054cd | 1027 | |
7bf85405 RD |
1028 | wxEVT_SIZE = wxEVT_FIRST + 200, |
1029 | wxEVT_MOVE, | |
1030 | wxEVT_CLOSE_WINDOW, | |
1031 | wxEVT_END_SESSION, | |
1032 | wxEVT_QUERY_END_SESSION, | |
1033 | wxEVT_ACTIVATE_APP, | |
1034 | wxEVT_POWER, | |
7bf85405 RD |
1035 | wxEVT_ACTIVATE, |
1036 | wxEVT_CREATE, | |
1037 | wxEVT_DESTROY, | |
1038 | wxEVT_SHOW, | |
1039 | wxEVT_ICONIZE, | |
1040 | wxEVT_MAXIMIZE, | |
7bf85405 RD |
1041 | wxEVT_PAINT, |
1042 | wxEVT_ERASE_BACKGROUND, | |
1043 | wxEVT_NC_PAINT, | |
1044 | wxEVT_PAINT_ICON, | |
afb810d9 RD |
1045 | wxEVT_MENU_OPEN, |
1046 | wxEVT_MENU_CLOSE, | |
7bf85405 | 1047 | wxEVT_MENU_HIGHLIGHT, |
88c7f3f9 | 1048 | wxEVT_CONTEXT_MENU, |
7bf85405 | 1049 | wxEVT_SYS_COLOUR_CHANGED, |
be43cc44 | 1050 | wxEVT_DISPLAY_CHANGED, |
7bf85405 RD |
1051 | wxEVT_SETTING_CHANGED, |
1052 | wxEVT_QUERY_NEW_PALETTE, | |
1053 | wxEVT_PALETTE_CHANGED, | |
1054 | wxEVT_JOY_BUTTON_DOWN, | |
1055 | wxEVT_JOY_BUTTON_UP, | |
1056 | wxEVT_JOY_MOVE, | |
1057 | wxEVT_JOY_ZMOVE, | |
1058 | wxEVT_DROP_FILES, | |
1059 | wxEVT_DRAW_ITEM, | |
1060 | wxEVT_MEASURE_ITEM, | |
1061 | wxEVT_COMPARE_ITEM, | |
1062 | wxEVT_INIT_DIALOG, | |
1063 | wxEVT_IDLE, | |
1064 | wxEVT_UPDATE_UI, | |
1065 | ||
bb0054cd | 1066 | |
7bf85405 RD |
1067 | /* Generic command events */ |
1068 | // Note: a click is a higher-level event | |
1069 | // than button down/up | |
1070 | wxEVT_COMMAND_LEFT_CLICK, | |
1071 | wxEVT_COMMAND_LEFT_DCLICK, | |
1072 | wxEVT_COMMAND_RIGHT_CLICK, | |
1073 | wxEVT_COMMAND_RIGHT_DCLICK, | |
1074 | wxEVT_COMMAND_SET_FOCUS, | |
1075 | wxEVT_COMMAND_KILL_FOCUS, | |
1076 | wxEVT_COMMAND_ENTER, | |
1077 | ||
2f90df85 RD |
1078 | wxEVT_NAVIGATION_KEY, |
1079 | ||
f6bcfd97 BP |
1080 | wxEVT_TIMER, |
1081 | ||
7bf85405 RD |
1082 | }; |
1083 | ||
1084 | ||
1085 | ||
1086 | ||
bb0054cd | 1087 | //---------------------------------------------------------------------- |