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:
Vadim Zeitlin
2018-07-21 14:42:06 +02:00
parent 5b703b6a24
commit 71cef5f3be
13 changed files with 19 additions and 19 deletions

View File

@@ -22,7 +22,7 @@ public:
virtual ~wxBitmapButton();
wxBitmapButton(wxWindow *parent, wxWindowID id, const wxBitmap& bitmap,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = wxBU_AUTODRAW,
const wxSize& size = wxDefaultSize, long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxButtonNameStr)
{
@@ -31,7 +31,7 @@ public:
bool Create(wxWindow *parent, wxWindowID id, const wxBitmap& bitmap,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = wxBU_AUTODRAW,
const wxSize& size = wxDefaultSize, long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxButtonNameStr);