WxBorder
lastmod 2026-11-10created 2015-06-242 edits
wxBorder is a wxWidgets flag enumeration that specifies the border style of a control. Values such as wxBORDER_NONE, wxBORDER_SIMPLE, wxBORDER_SUNKEN, wxBORDER_RAISED, and wxBORDER_THEME are combined with bitwise OR into the style argument when a window is created. The default value wxBORDER_DEFAULT follows the default border of that control on each platform.
Prototype
/* border flags: the values are chosen for backwards compatibility */
enum wxBorder
{
/* this is different from wxBORDER_NONE as by default the controls do have */
/* border */
wxBORDER_DEFAULT = 0,
wxBORDER_NONE = 0x00200000,
wxBORDER_STATIC = 0x01000000,
wxBORDER_SIMPLE = 0x02000000,
wxBORDER_RAISED = 0x04000000,
wxBORDER_SUNKEN = 0x08000000,
wxBORDER_DOUBLE = 0x10000000, /* deprecated */
wxBORDER_THEME = wxBORDER_DOUBLE,
/* a mask to extract border style from the combination of flags */
wxBORDER_MASK = 0x1f200000
};