From 014c5a64b57bc8769e667614854e3dd4491a470b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 22 Sep 2003 12:35:21 +0000 Subject: [PATCH] moved wxGA_XXX styles to gauge.h from defs.h; set wxGA_PROGRESSBAR as 0 (it's not used anywhere anyhow) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/defs.h | 9 --------- include/wx/gauge.h | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 9 deletions(-) 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; // ---------------------------------------------------------------------------- -- 2.45.2