X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8c02a70d4f3840967fcb5b81bcec66c040f60616..414f2513fc42e1ec60954c7c000d7ae78ba6af8c:/include/wx/defs.h?ds=sidebyside diff --git a/include/wx/defs.h b/include/wx/defs.h index 0c9d550056..afaacc7b4c 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -1151,10 +1151,11 @@ enum wxGeometryCentre enum wxOrientation { + // don't change the values of these elements, they are used elsewhere wxHORIZONTAL = 0x0004, wxVERTICAL = 0x0008, - wxBOTH = (wxVERTICAL | wxHORIZONTAL) + wxBOTH = wxVERTICAL | wxHORIZONTAL }; enum wxDirection @@ -1443,24 +1444,6 @@ enum wxBorder #define wxRB_SINGLE 0x0008 #define wxRB_USE_CHECKBOX 0x0010 /* alternative native control (wxPalmOS) */ -/* - * wxSlider flags - */ -#define wxSL_HORIZONTAL wxHORIZONTAL /* 4 */ -#define wxSL_VERTICAL wxVERTICAL /* 8 */ -/* The next one is obsolete - use scroll events instead */ -#define wxSL_NOTIFY_DRAG 0x0000 -#define wxSL_TICKS 0x0010 -#define wxSL_AUTOTICKS wxSL_TICKS /* we don't support manual ticks */ -#define wxSL_LABELS 0x0020 -#define wxSL_LEFT 0x0040 -#define wxSL_TOP 0x0080 -#define wxSL_RIGHT 0x0100 -#define wxSL_BOTTOM 0x0200 -#define wxSL_BOTH 0x0400 -#define wxSL_SELRANGE 0x0800 -#define wxSL_INVERSE 0x1000 - /* * wxScrollBar flags */