Back to index

plt-scheme  4.2.1
wxDefines.h
Go to the documentation of this file.
00001 /*                                                      -*- C++ -*-
00002  *
00003  * Purpose: Declarations/definitions common to all wx source files
00004  *
00005  * Authors: Markus Holzem and Julian Smart
00006  *
00007  * Copyright: (C) 2004-2009 PLT Scheme Inc.
00008  * Copyright: (C) 1995, AIAI, University of Edinburgh (Julian)
00009  * Copyright: (C) 1995, GNU (Markus)
00010  *
00011  * This program is free software; you can redistribute it and/or modify
00012  * it under the terms of the GNU General Public License as published by
00013  * the Free Software Foundation; either version 2 of the License, or
00014  * (at your option) any later version.
00015  *
00016  * This program is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU General Public License
00022  * along with this program; if not, write to the Free Software
00023  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00024  * 02110-1301 USA.
00025  */
00026 
00027 #ifndef wxDefines_h
00028 #define wxDefines_h
00029 
00030 #ifdef __GNUG__
00031 #pragma interface
00032 #endif
00033 
00034 // typedef of Bool when Xt include files are NOT included
00035 #ifndef Bool
00036 typedef int Bool;
00037 #endif
00038 #undef True
00039 #undef False
00040 #undef TRUE
00041 #undef FALSE
00042 #define True  1
00043 #define False 0
00044 #define TRUE  1
00045 #define FALSE 0
00046 // typedef for wxWindows callback functions
00047 class wxObject;
00048 class wxCommandEvent;
00049 typedef void (*wxFunction)(wxObject*, wxCommandEvent*);
00050 
00051 // defines for port
00052 #define wx_x
00053 
00054 typedef short int WXTYPE;
00055 
00056 // Types of objects
00057 #define wxTYPE_ANY             0
00058 #define wxTYPE_OBJECT          wxTYPE_ANY
00059 #define wxTYPE_WINDOW          1
00060 #define wxTYPE_DIALOG_BOX      2
00061 #define wxTYPE_ITEM            3
00062 #define wxTYPE_PANEL           4
00063 #define wxTYPE_CANVAS          5
00064 #define wxTYPE_TEXT_WINDOW     6
00065 #define wxTYPE_FRAME           7
00066 
00067 #define wxTYPE_BUTTON          8
00068 #define wxTYPE_POPUP_EVENT     9
00069 #define wxTYPE_MESSAGE         10
00070 #define wxTYPE_CHOICE          11
00071 #define wxTYPE_LIST_BOX        12
00072 #define wxTYPE_SLIDER          13
00073 #define wxTYPE_CHECK_BOX       14
00074 #define wxTYPE_MENU            15
00075 #define wxTYPE_MENU_BAR        16
00076 #define wxTYPE_MULTI_TEXT      17
00077 #define wxTYPE_RADIO_BOX       18
00078 #define wxTYPE_GROUP_BOX       19
00079 #define wxTYPE_GAUGE           20
00080 #define wxTYPE_SCROLL_BAR      21
00081 #define wxTYPE_VIRT_LIST_BOX   22
00082 
00083 #define wxTYPE_EVENT           25
00084 #define wxTYPE_DC              26
00085 #define wxTYPE_DC_WINDOW       27
00086 #define wxTYPE_DC_POSTSCRIPT   28
00087 #define wxTYPE_DC_PRINTER      29
00088 #define wxTYPE_DC_METAFILE     30
00089 #define wxTYPE_DC_MEMORY       31
00090 #define wxTYPE_MOUSE_EVENT     32
00091 #define wxTYPE_KEY_EVENT       33
00092 #define wxTYPE_COMMAND_EVENT   34
00093 #define wxTYPE_SCROLL_EVENT    36
00094 #define wxTYPE_DC_OBJECT       37
00095 
00096 #define wxTYPE_DC_CANVAS       wxTYPE_DC_WINDOW
00097 #define wxTYPE_DC_PANEL        wxTYPE_DC_WINDOW
00098 
00099 #define wxTYPE_PEN             40
00100 #define wxTYPE_BRUSH           41
00101 #define wxTYPE_FONT            42
00102 #define wxTYPE_ICON            42
00103 #define wxTYPE_BITMAP          43
00104 #define wxTYPE_METAFILE        44
00105 #define wxTYPE_TIMER           45
00106 #define wxTYPE_COLOUR          46
00107 #define wxTYPE_COLOURMAP       47
00108 #define wxTYPE_CURSOR          48
00109 
00110 #define wxTYPE_DDE_CLIENT      60
00111 #define wxTYPE_DDE_SERVER      61
00112 #define wxTYPE_DDE_CONNECTION  62
00113 
00114 #define wxTYPE_HELP_INSTANCE   63
00115 
00116 #define wxTYPE_LIST            70
00117 #define wxTYPE_STRING_LIST     71
00118 #define wxTYPE_HASH_TABLE      72
00119 #define wxTYPE_NODE            73
00120 #define wxTYPE_APP             74
00121 
00122 #define wxTYPE_ENHANCED_DIALOG 80
00123 #define wxTYPE_TOOLBAR         81
00124 #define wxTYPE_BUTTONBAR       82
00125 
00126 #define wxTYPE_DATABASE        90
00127 #define wxTYPE_QUERY_FIELD     91
00128 #define wxTYPE_QUERY_COL       92
00129 #define wxTYPE_RECORDSET       93
00130 
00131 #define wxTYPE_CONSTRAINTS     94
00132 #define wxTYPE_TYPEDEF         95
00133 
00134 #define wxTYPE_USER            500
00135 
00136 // defines for wxBitmap
00137 #define wxBITMAP_DISCARD_COLOURMAP 0x00001
00138 #define wxBITMAP_TYPE_BMP          0x00002
00139 #define wxBITMAP_TYPE_BMP_RESOURCE 0x00004
00140 #define wxBITMAP_TYPE_ICO          0x00008
00141 #define wxBITMAP_TYPE_ICO_RESOURCE 0x00010
00142 #define wxBITMAP_TYPE_CUR          0x00020
00143 #define wxBITMAP_TYPE_CUR_RESOURCE 0x00040
00144 #define wxBITMAP_TYPE_XBM          0x00080
00145 #define wxBITMAP_TYPE_XBM_DATA            0x00100
00146 #define wxBITMAP_TYPE_XPM          0x00200
00147 #define wxBITMAP_TYPE_XPM_DATA            0x00400
00148 #define wxBITMAP_TYPE_TIF          0x00800
00149 #define wxBITMAP_TYPE_GIF          0x01000
00150 #define wxBITMAP_TYPE_ANY          0x02000
00151 #define wxBITMAP_TYPE_JPEG         0x04000
00152 #define wxBITMAP_TYPE_PNG          0x08000
00153 #define wxBITMAP_TYPE_RESOURCE            wxBITMAP_TYPE_BMP_RESOURCE
00154 #define wxBITMAP_TYPE_MASK         0x10000
00155 #define wxBITMAP_DEFAULT           (wxBITMAP_DISCARD_COLOURMAP | wxBITMAP_TYPE_XBM)
00156 
00157 // defines for wxBrush / wxPen
00158 // line/brush styles
00159 #define wxSOLID            0
00160 #define wxTRANSPARENT      1
00161 // user defined dash
00162 #define wxUSER_DASH        100
00163 // dashs
00164 #define wxDOT              101
00165 #define wxLONG_DASH        102
00166 #define wxSHORT_DASH       103
00167 #define wxDOT_DASH         104
00168 #define wxXOR_DOT          105
00169 #define wxXOR_LONG_DASH    106
00170 #define wxXOR_SHORT_DASH   107
00171 #define wxXOR_DOT_DASH     108
00172 #define wxFIRST_DASH       wxDOT
00173 #define wxIS_DASH(d)    (wxDOT <= d && d <= wxDOT_DASH)
00174 #define wxNUM_DASH         (wxDOT_DASH - wxDOT + 1)
00175 // user defined stipple
00176 #define wxSTIPPLE          200
00177 // hatches
00178 #define wxBDIAGONAL_HATCH  201
00179 #define wxCROSSDIAG_HATCH  202
00180 #define wxFDIAGONAL_HATCH  203
00181 #define wxCROSS_HATCH      204
00182 #define wxHORIZONTAL_HATCH 205
00183 #define wxVERTICAL_HATCH   206
00184 #define wxFIRST_HATCH      wxBDIAGONAL_HATCH
00185 #define wxIS_HATCH(h)          (wxBDIAGONAL_HATCH <= h && h <= wxVERTICAL_HATCH)
00186 #define wxNUM_HATCH        (wxVERTICAL - wxBDIAGONAL + 1)
00187 #define wxOPAQUE_STIPPLE   207
00188 #define wxPANEL_PATTERN    208
00189 #define wxDIM_OVER         209
00190 #define wxFADE_OVER        210
00191 
00192 #define wxJOIN_BEVEL       0
00193 #define wxJOIN_MITER       1
00194 #define wxJOIN_ROUND       2
00195 
00196 #define wxCAP_ROUND        0
00197 #define wxCAP_PROJECTING   1
00198 #define wxCAP_BUTT         2
00199 #define wxCAP_NOTLAST      3
00200 
00201 // defines for wxClipboard
00202 # define wxCF_TEXT               1
00203 # define wxCF_BITMAP             2
00204 # define wxCF_METAFILE           3
00205 # define wxCF_DIB                4
00206 # define wxCF_OEMTEXT            5
00207 
00208 // defines for wxCursor
00209 enum {
00210     // cursors with X11 equvalents
00211     wxFIRST_X11_CURSOR          = 0,
00212     wxCURSOR_ARROW          = wxFIRST_X11_CURSOR,
00213     wxCURSOR_BASED_ARROW_DOWN,
00214     wxCURSOR_BASED_ARROW_UP,
00215     wxCURSOR_BULLSEYE,
00216     wxCURSOR_CROSS,
00217     wxCURSOR_CROSS_REVERSE,
00218     wxCURSOR_DOUBLE_ARROW,
00219     wxCURSOR_HAND,
00220     wxCURSOR_IBEAM,
00221     wxCURSOR_LEFT_BUTTON,
00222     wxCURSOR_MAGNIFIER,
00223     wxCURSOR_MIDDLE_BUTTON,
00224     wxCURSOR_NO_ENTRY,
00225     wxCURSOR_PAINT_BRUSH,
00226     wxCURSOR_PENCIL,
00227     wxCURSOR_POINT_LEFT,
00228     wxCURSOR_POINT_RIGHT,
00229     wxCURSOR_QUESTION_ARROW,
00230     wxCURSOR_RIGHT_BUTTON,
00231     wxCURSOR_SIZENESW,
00232     wxCURSOR_SIZENS,
00233     wxCURSOR_SIZENWSE,
00234     wxCURSOR_SIZEWE,
00235     wxCURSOR_SIZING,
00236     wxCURSOR_SPRAYCAN,
00237     wxCURSOR_WAIT,
00238     wxCURSOR_WATCH,
00239     wxLAST_X11_CURSOR              = wxCURSOR_WATCH,
00240     // privately defined cursors
00241     wxCURSOR_START_PRIVATE  = wxLAST_X11_CURSOR+1,
00242     wxCURSOR_CHAR,
00243     wxCURSOR_BLANK
00244 };
00245 
00246 // defines for wxDC
00247 #define wxDEVICE_NONE              0
00248 #define wxDEVICE_WINDOW            1
00249 #define wxDEVICE_EPS        2
00250 #define wxDEVICE_MEMORY            3
00251 #define wxDEVICE_CANVAS            wxDEVICE_WINDOW
00252 #define wxDEVICE_PANEL             wxDEVICE_WINDOW
00253 
00254 #define MM_TEXT                    0
00255 #define MM_ISOTROPIC        1
00256 #define MM_ANISOTROPIC             2
00257 #define MM_LOMETRIC         3
00258 #define MM_HIMETRIC         4
00259 #define MM_TWIPS            5
00260 #define MM_POINTS           6
00261 #define MM_METRIC           7
00262 
00263 #define PS_PORTRAIT         0
00264 #define PS_LANDSCAPE        1
00265 
00266 #define PS_PRINTER          0
00267 #define PS_FILE                    1
00268 #define PS_PREVIEW          2
00269 
00270 #define mm2inches           0.0393700787402
00271 #define inches2mm           25.4
00272 #define mm2twips            56.6929133859
00273 #define twips2mm            0.0176388888889
00274 #define mm2pt               2.83464566929
00275 #define pt2mm               0.352777777778
00276 
00277 #define wxODDEVEN_RULE             0
00278 #define wxWINDING_RULE             1
00279 #define wxFLOOD_SURFACE            0
00280 #define wxFLOOD_BORDER             1
00281 
00282 #define wxAND               0
00283 #define wxAND_INVERT        1
00284 #define wxAND_REVERSE              2
00285 #define wxCLEAR                    3
00286 #define wxCOPY                     4
00287 #define wxEQUIV                    5
00288 #define wxINVERT            6
00289 #define wxNAND                     7
00290 #define wxNOR               8
00291 #define wxNO_OP                    9
00292 #define wxOR                10
00293 #define wxOR_INVERT         11
00294 #define wxOR_REVERSE        12
00295 #define wxSET               13
00296 #define wxSRC_INVERT        14
00297 #define wxXOR               15
00298 #define wxCOLOR                    16
00299 
00300 #define wxCOPY_INVERT              wxSRC_INVERT
00301 
00302 // defines for wxEvent
00303 enum {
00304     // Command event types
00305     wxEVENT_TYPE_BUTTON_COMMAND         = 0x0000,
00306     wxEVENT_TYPE_CHECKBOX_COMMAND       = 0x0001,
00307     wxEVENT_TYPE_RESERVED1              = 0x0002,
00308     wxEVENT_TYPE_CHOICE_COMMAND         = 0x0003,
00309     wxEVENT_TYPE_LISTBOX_COMMAND        = 0x0004,
00310     wxEVENT_TYPE_RESERVED2              = 0x0005,
00311     wxEVENT_TYPE_TEXT_COMMAND           = 0x0006,
00312     wxEVENT_TYPE_MENU_POPDOWN_NONE      = 0x0007,
00313     wxEVENT_TYPE_MENU_COMMAND           = 0x0008,
00314     wxEVENT_TYPE_SLIDER_COMMAND         = 0x0009,
00315     wxEVENT_TYPE_RADIOBOX_COMMAND       = 0x000a,
00316     wxEVENT_TYPE_TEXT_ENTER_COMMAND     = 0x000b,
00317     wxEVENT_TYPE_SET_FOCUS              = 0x000c,
00318     wxEVENT_TYPE_KILL_FOCUS             = 0x000d,
00319     wxEVENT_TYPE_SCROLLBAR_COMMAND      = 0x000e,
00320     wxEVENT_TYPE_MENU_POPDOWN           = 0x000f,
00321     wxEVENT_TYPE_LISTBOX_DCLICK_COMMAND = 0x0010,
00322     wxEVENT_TYPE_MENU_SELECT            = 0x0011,
00323     wxEVENT_TYPE_TAB_CHOICE_COMMAND     = 0x0012,
00324     // Scrollbar event identifiers
00325     wxEVENT_TYPE_SCROLL_TOP           = 0x1000,
00326     wxEVENT_TYPE_SCROLL_BOTTOM        = 0x1001,
00327     wxEVENT_TYPE_SCROLL_LINEUP        = 0x1002,
00328     wxEVENT_TYPE_SCROLL_LINEDOWN      = 0x1003,
00329     wxEVENT_TYPE_SCROLL_PAGEUP        = 0x1004,
00330     wxEVENT_TYPE_SCROLL_PAGEDOWN      = 0x1005, 
00331     wxEVENT_TYPE_SCROLL_THUMBTRACK    = 0x1006,
00332     // Character input event type
00333     wxEVENT_TYPE_CHAR                 = 0x2000,
00334     // Mouse event types
00335     wxEVENT_TYPE_MOUSE                = 0x3000,
00336     wxEVENT_TYPE_LEFT                 = 0x3000,
00337     wxEVENT_TYPE_MIDDLE               = 0x3001,
00338     wxEVENT_TYPE_RIGHT                = 0x3002,
00339     wxEVENT_TYPE_DOWN                 = 0x3010,
00340     wxEVENT_TYPE_DOUBLE               = 0x3100,
00341     wxEVENT_TYPE_LEFT_DCLICK          = 0x3110, // = LEFT | DOWN | DOUBLE
00342     wxEVENT_TYPE_LEFT_DOWN            = 0x3010, // = LEFT | DOWN
00343     wxEVENT_TYPE_LEFT_UP              = 0x3000, // = LEFT
00344     wxEVENT_TYPE_MIDDLE_DCLICK        = 0x3111, // = MIDDLE | DOWN | DOUBLE
00345     wxEVENT_TYPE_MIDDLE_DOWN          = 0x3011, // = MIDDLE | DOWN
00346     wxEVENT_TYPE_MIDDLE_UP            = 0x3001, // = MIDDLE
00347     wxEVENT_TYPE_RIGHT_DCLICK         = 0x3112, // = RIGHT | DOWN | DOUBLE
00348     wxEVENT_TYPE_RIGHT_DOWN           = 0x3012, // = RIGHT | DOWN
00349     wxEVENT_TYPE_RIGHT_UP             = 0x3002, // = RIGHT
00350     wxEVENT_TYPE_MOTION               = 0x3003,
00351     wxEVENT_TYPE_ENTER_WINDOW         = 0x3004,
00352     wxEVENT_TYPE_LEAVE_WINDOW         = 0x3005
00353 };
00354 
00355 #define WXSCROLLPOS(event)  event.moveType
00356 #define WXSCROLLORIENT(event)      event.direction
00357 
00358 // defines for wxFont
00359 //--- default for all others
00360 #define wxDEFAULT       0
00361 //--- families
00362 #define wxDECORATIVE    1
00363 #define wxMODERN        2
00364 #define wxROMAN         3
00365 #define wxSCRIPT        4
00366 #define wxSWISS         5
00367 #define wxTELETYPE      6
00368 #define wxSYSTEM        13
00369 #define wxSYMBOL        14
00370 //--- styles
00371 #define wxNORMAL        7
00372 #define wxSLANT         8
00373 #define wxITALIC        9
00374 //--- weight
00375 #define wxNORMAL_WEIGHT 10
00376 #define wxBOLD          11
00377 #define wxLIGHT         12
00378 //--- smoothing
00379 #define wxSMOOTHING_DEFAULT   13
00380 #define wxSMOOTHING_PARTIAL   14
00381 #define wxSMOOTHING_OFF       15
00382 #define wxSMOOTHING_ON        16
00383 
00384 // defines for wxFrame, wxDialogBox, and wxEnhDialogBox
00385 #define wxBORDER            0x00000001
00386 #define wxNO_CAPTION        0x00000002
00387 #define wxICONIZE           0x00000004
00388 #define wxMDI_CHILD         0x00000008
00389 #define wxMDI_PARENT        0x00000010
00390 #define wxMINIMIZE          wxICONIZE
00391 #define wxMINIMIZE_BOX             0x00000020
00392 #define wxMAXIMIZE          0x00000040
00393 #define wxMAXIMIZE_BOX             0x00000080
00394 #define wxNO_SYSTEM_MENU           0x00000400
00395 #define wxNO_THICK_FRAME           0x00000800
00396 #define wxTRANSIENT         0x00001000
00397 #define wxNO_RESIZE_BORDER         0x00002000
00398 #define wxVSCROLL           0x00020000
00399 #define wxNO_DC                    0x00040000
00400 #define wxINVISIBLE             0x00080000
00401 #define wxTRANSPARENT_WIN       0x00100000
00402 #define wxFLOAT_FRAME           0x00200000
00403 
00404 #define wxDEFAULT_FRAME            0
00405 #define wxDEFAULT_DIALOG_STYLE     0
00406 #define wxMAX_STATUS        4
00407 
00408 // defines for wxItem and descendants
00409 #define wxSINGLE                   0x00000000
00410 //--- defined for wxFrame too --------------------
00411 //#define wxBORDER                 0x00000001
00412 //------------------------------------------------
00413 //--- defined for centering too (wxWindow) -------
00414 //#define wxHORIZONTAL                    0x00000002
00415 //#define wxVERTICAL               0x00000004
00416 //------------------------------------------------
00417 #define wxMULTIPLE                 0x00000008
00418 #define wxEXTENDED                 0x00000010
00419 #define wxNEEDED_SB                0x00000020
00420 #define wxALWAYS_SB                0x00000040
00421 #define wxHSCROLL                  0x00000080
00422 #define wxVERTICAL_LABEL           0x00000100
00423 #define wxHORIZONTAL_LABEL         0x00000200
00424 #define wxBACKINGSTORE                    0x00001000
00425 #define wxAT_MOST_ONE                     0x00004000
00426 #define wxFLAT                            0x00008000
00427 #define wxGL_CONTEXT                    0x02000000
00428 #define wxNO_AUTOCLEAR                  0x04000000
00429 #define wxCOMBO_SIDE                    0x08000000
00430 #define wxNEVER_FOCUS                   0x01000000
00431 
00432 #define wxALIGN_CENTRE             0
00433 #define wxALIGN_LEFT        1
00434 #define wxALIGN_RIGHT              2
00435 #define wxALIGN_TOP         4
00436 #define wxALIGN_BOTTOM             8
00437 #define wxALIGN_TOP_LEFT    (wxALIGN_TOP    + wxALIGN_LEFT  )
00438 #define wxALIGN_TOP_RIGHT   (wxALIGN_TOP    + wxALIGN_RIGHT )
00439 #define wxALIGN_BOTTOM_LEFT (wxALIGN_BOTTOM + wxALIGN_LEFT  )
00440 #define wxALIGN_BOTTOM_RIGHT       (wxALIGN_BOTTOM + wxALIGN_RIGHT )
00441 
00442 #define wxCANVAS_WIDTH             200
00443 #define wxCANVAS_HEIGHT            200
00444 #define wxGAUGE_WIDTH              150
00445 #define wxGAUGE_HEIGHT              40
00446 #define wxGROUP_BOX_WIDTH   150
00447 #define wxGROUP_BOX_HEIGHT  100
00448 #define wxMULTI_TEXT_WIDTH  150
00449 #define wxMULTI_TEXT_HEIGHT 100
00450 #define wxTEXT_WIDTH        150
00451 #define wxTEXT_WINDOW_WIDTH 400
00452 #define wxTEXT_WINDOW_HEIGHT       200
00453 
00454 // defines for wxKeyEvent
00455 // Virtual keycodes
00456 enum _Virtual_keycodes {
00457     WXK_BACK    =   8,
00458     WXK_TAB     =   9,
00459     WXK_RETURN  =  13,
00460     WXK_ESCAPE  =  27,
00461     WXK_SPACE   =  32,
00462     WXK_DELETE  = 127,
00463     
00464     /* Use Unicode surrogate region to avoid char conflicts */
00465     WXK_START   = 0xD800,
00466     WXK_LBUTTON,
00467     WXK_RBUTTON,
00468     WXK_CANCEL,
00469     WXK_MBUTTON,
00470     WXK_CLEAR,
00471     WXK_SHIFT,
00472     WXK_CONTROL,
00473     WXK_MENU,
00474     WXK_PAUSE,
00475     WXK_CAPITAL,
00476     WXK_PRIOR,
00477     WXK_NEXT,
00478     WXK_END,
00479     WXK_HOME,
00480     WXK_LEFT,
00481     WXK_UP,
00482     WXK_RIGHT,
00483     WXK_DOWN,
00484     WXK_SELECT,
00485     WXK_PRINT,
00486     WXK_EXECUTE,
00487     WXK_SNAPSHOT,
00488     WXK_INSERT,
00489     WXK_HELP,
00490     WXK_NUMPAD0,
00491     WXK_NUMPAD1,
00492     WXK_NUMPAD2,
00493     WXK_NUMPAD3,
00494     WXK_NUMPAD4,
00495     WXK_NUMPAD5,
00496     WXK_NUMPAD6,
00497     WXK_NUMPAD7,
00498     WXK_NUMPAD8,
00499     WXK_NUMPAD9,
00500     WXK_MULTIPLY,
00501     WXK_ADD,
00502     WXK_SEPARATOR,
00503     WXK_SUBTRACT,
00504     WXK_DECIMAL,
00505     WXK_DIVIDE,
00506     WXK_F1,
00507     WXK_F2,
00508     WXK_F3,
00509     WXK_F4,
00510     WXK_F5,
00511     WXK_F6,
00512     WXK_F7,
00513     WXK_F8,
00514     WXK_F9,
00515     WXK_F10,
00516     WXK_F11,
00517     WXK_F12,
00518     WXK_F13,
00519     WXK_F14,
00520     WXK_F15,
00521     WXK_F16,
00522     WXK_F17,
00523     WXK_F18,
00524     WXK_F19,
00525     WXK_F20,
00526     WXK_F21,
00527     WXK_F22,
00528     WXK_F23,
00529     WXK_F24,
00530     WXK_NUMLOCK,
00531     WXK_SCROLL,
00532 
00533     WXK_WHEEL_UP,
00534     WXK_WHEEL_DOWN,
00535 
00536     WXK_PRESS,
00537     WXK_RELEASE
00538 };
00539 
00540 // defines for wxLayout
00541 #define wxLAYOUT_DEFAULT_MARGIN    0
00542 #define wxLAYOUT_MAX_ITERATIONS    500
00543 
00544 // usually used for Window stacking method (X.h)
00545 #undef Above
00546 #undef Below
00547 
00548 enum wxEdge {
00549     wxLeft, wxTop, wxRight, wxBottom, wxWidth, wxHeight,
00550     wxCentreX, wxCentreY
00551 };
00552 enum wxRelationship {
00553     wxUnconstrained = 0,
00554     wxAsIs, wxPercentOf, wxAbove, wxBelow,
00555     wxLeftOf, wxRightOf, wxSameAs, wxAbsolute
00556 };
00557 
00558 // defines for wxPanel
00559 #define PANEL_HMARGIN              2
00560 #define PANEL_VMARGIN              2
00561 #define PANEL_HSPACING             10
00562 #define PANEL_VSPACING             8  
00563 
00564 #define wxABSOLUTE_POSITIONING     0x000000 /* obsolete */
00565 
00566 // defines for wxPen (see under wxBrush)
00567 
00568 // defines for wxUtils
00569 #define wxDIR               0x0001
00570 
00571 #define wxOK                0x0001
00572 #define wxYES_NO            0x0002
00573 #define wxCANCEL            0x0004
00574 #define wxYES               0x0008
00575 #define wxNO                0x0010
00576 #define wxICON_EXCLAMATION  0x0020
00577 #define wxICON_HAND         0x0040
00578 #define wxICON_QUESTION            0x0080
00579 #define wxICON_INFORMATION  0x0100
00580 #define wxCENTRE            0x0200
00581 #define wxICON_STOP         wxICON_HAND
00582 #define wxICON_ASTERISK            wxICON_INFORMATION
00583 #define wxICON_MASK         (0x0020|0x0040|0x0080|0x0100)
00584 
00585 #define wxOPEN                     0x0001
00586 #define wxSAVE                     0x0002
00587 #define wxOVERWRITE_PROMPT  0x0004
00588 #define wxHIDE_READONLY            0x0008
00589 #define wxSHOW_HIDDEN              0x0010
00590 #define wxMULTIOPEN             0x0020
00591 
00592 #define wxCHOICE_HEIGHT            150
00593 #define wxCHOICE_WIDTH             200
00594 #define wxFSB_WIDTH         500
00595 #define wxFSB_HEIGHT        350
00596 
00597 // defines for wxWindow
00598 #define wxHORIZONTAL        0x0002
00599 #define wxVERTICAL          0x0004
00600 #define wxBOTH                     (wxHORIZONTAL | wxVERTICAL)
00601 #define wxCENTRE_FRAME             0x0008
00602 #define wxCENTRE_TOPLEFT    0x0010
00603 
00604 #define wxSIZE_USE_EXISTING 0x0000
00605 #define wxSIZE_AUTO_WIDTH   0x0001
00606 #define wxSIZE_AUTO_HEIGHT  0x0002
00607 #define wxSIZE_AUTO         wxSIZE_AUTO_WIDTH | wxSIZE_AUTO_HEIGHT
00608 #define wxPOS_USE_MINUS_ONE 0x0004
00609 
00610 #define wxDEFAULT_POSITION -11111
00611 
00612 // defines to translate british/american english
00613 #define Center                     Centre
00614 #define wxALIGN_CENTER             wxALIGN_CENTRE
00615 #define wxCENTER            wxCENTRE
00616 #define wxCENTER_FRAME             wxCENTRE_FRAME
00617 #define wxCenter            wxCentre
00618 #define wxCenterX           wxCentreX
00619 #define wxCenterY           wxCentreY
00620 #define wxColor                    wxColour
00621 #define wxColorMap          wxColourMap
00622 #define wxMainColormap             wxMainColourmap
00623  
00624 // Macro to cut down on compiler warnings.
00625 #if REMOVE_UNUSED_ARG
00626 # define WXUNUSED(identifier) /* identifier */
00627 #else  // stupid, broken compiler
00628 # define WXUNUSED(identifier) identifier
00629 #endif
00630 
00631 #endif // wxDefines_h