Stop using wxBU_AUTODRAW in wxWidgets code
This style bit is obsolete and doesn't do anything, so remove confusing references to it.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
#define wxBU_EXACTFIT 0x0001
|
||||
#define wxBU_NOTEXT 0x0002
|
||||
#define wxBU_AUTODRAW 0x0004
|
||||
#define wxBU_AUTODRAW 0x0004 ///< Obsolete, has no effect.
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -83,7 +83,7 @@ public:
|
||||
const wxBitmap& bitmap,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxBU_AUTODRAW,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxButtonNameStr);
|
||||
|
||||
@@ -95,7 +95,7 @@ public:
|
||||
const wxBitmap& bitmap,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxBU_AUTODRAW,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxButtonNameStr);
|
||||
|
||||
|
@@ -271,7 +271,7 @@ public:
|
||||
wxWindowID id = wxID_CONTEXT_HELP,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxBU_AUTODRAW);
|
||||
long style = 0);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user