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:
@@ -389,7 +389,7 @@ void wxButtonToolBar::DoLayout()
|
||||
if (!tool->GetButton())
|
||||
{
|
||||
wxBitmapButton* bmpButton = new wxBitmapButton(this, tool->GetId(), tool->GetNormalBitmap(), wxPoint(tool->m_x, tool->m_y), wxDefaultSize,
|
||||
wxBU_AUTODRAW|wxBORDER_NONE);
|
||||
wxBORDER_NONE);
|
||||
if (!tool->GetShortHelp().empty())
|
||||
bmpButton->SetLabel(tool->GetShortHelp());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user