diff --git a/include/wx/defs.h b/include/wx/defs.h index f04c766d6d..790fd47e39 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -1266,15 +1266,6 @@ enum wxBorder #define wxRB_GROUP 0x0004 #define wxRB_SINGLE 0x0008 -/* - * wxGauge flags - */ -#define wxGA_HORIZONTAL wxHORIZONTAL -#define wxGA_VERTICAL wxVERTICAL -#define wxGA_PROGRESSBAR 0x0010 -// Windows only -#define wxGA_SMOOTH 0x0020 - /* * wxSlider flags */ diff --git a/include/wx/gauge.h b/include/wx/gauge.h index 17fbc5206e..4add88a2f3 100644 --- a/include/wx/gauge.h +++ b/include/wx/gauge.h @@ -22,6 +22,20 @@ #include "wx/control.h" +// ---------------------------------------------------------------------------- +// wxGauge style flags +// ---------------------------------------------------------------------------- + +#define wxGA_HORIZONTAL wxHORIZONTAL +#define wxGA_VERTICAL wxVERTICAL + +// Win32 only, is default (and only) on some other platforms +#define wxGA_SMOOTH 0x0020 + +// obsolete style +#define wxGA_PROGRESSBAR 0 + + WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr; // ----------------------------------------------------------------------------