X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e65ae1d36dbf4070cdb579f04849a7afae1341a3..5eeccdd52c8a7140bfa220d412aa9dc181f7a4d8:/interface/wx/defs.h diff --git a/interface/wx/defs.h b/interface/wx/defs.h index e8c1a10387..a6f3952a68 100644 --- a/interface/wx/defs.h +++ b/interface/wx/defs.h @@ -398,14 +398,12 @@ enum wxBorder /* Old names for compatibility */ #define wxRA_HORIZONTAL wxHORIZONTAL #define wxRA_VERTICAL wxVERTICAL -#define wxRA_USE_CHECKBOX 0x0010 /* alternative native subcontrols (wxPalmOS) */ /* * wxRadioButton style flag */ #define wxRB_GROUP 0x0004 #define wxRB_SINGLE 0x0008 -#define wxRB_USE_CHECKBOX 0x0010 /* alternative native control (wxPalmOS) */ /* * wxScrollBar flags @@ -548,9 +546,14 @@ enum wxBackgroundStyle /* this style is deprecated and doesn't do anything, don't use */ wxBG_STYLE_COLOUR, - /* this is a Mac-only style, don't use in portable code */ - wxBG_STYLE_TRANSPARENT, + /** + Indicates that the window background is not erased, letting the parent + window show through. + Currently this style is only supported in wxOSX and wxGTK with + compositing available, see wxWindow::IsTransparentBackgroundSupported(). + */ + wxBG_STYLE_TRANSPARENT, }; @@ -886,7 +889,19 @@ enum wxKeyCode WXK_CLEAR, WXK_SHIFT, WXK_ALT, + /** Note that under Mac OS X, to improve compatibility with other + * systems, 'WXK_CONTROL' represents the 'Command' key. Use this + * constant to work with keyboard shortcuts. See 'WXK_RAW_CONTROL' + * to get the state of the actual 'Control' key. + */ WXK_CONTROL, + /** Under Mac OS X, where the 'Command' key is mapped to 'Control' + * to improve compatibility with other systems, WXK_RAW_CONTROL may + * be used to obtain the state of the actual 'Control' key + * ('WXK_CONTROL' would obtain the status of the 'Command' key). + * Under Windows/Linux/Others, this is equivalent to WXK_CONTROL + */ + WXK_RAW_CONTROL, WXK_MENU, WXK_PAUSE, WXK_CAPITAL, @@ -977,6 +992,11 @@ enum wxKeyCode WXK_WINDOWS_LEFT, WXK_WINDOWS_RIGHT, WXK_WINDOWS_MENU , + + /** This special key code was used to represent the key used for keyboard shortcuts. Under Mac OS X, + * this key maps to the 'Command' (aka logo or 'Apple') key, whereas on Linux/Windows/others + * this is the Control key, with the new semantic of WXK_CONTROL, WXK_COMMAND is not needed anymore + */ WXK_COMMAND, /** Hardware-specific buttons */ @@ -1175,6 +1195,16 @@ enum wxDuplexMode wxDUPLEX_VERTICAL }; +/** + Print quality. +*/ +#define wxPRINT_QUALITY_HIGH -1 +#define wxPRINT_QUALITY_MEDIUM -2 +#define wxPRINT_QUALITY_LOW -3 +#define wxPRINT_QUALITY_DRAFT -4 + +typedef int wxPrintQuality; + /** Print mode (currently PostScript only). */