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