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
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
@@ -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;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user