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:
@@ -50,7 +50,7 @@ bool wxGenericColourButton::Create( wxWindow *parent, wxWindowID id,
|
||||
|
||||
// create this button
|
||||
if (!wxBitmapButton::Create( parent, id, m_bitmap, pos,
|
||||
size, style | wxBU_AUTODRAW, validator, name ))
|
||||
size, style, validator, name ))
|
||||
{
|
||||
wxFAIL_MSG( wxT("wxGenericColourButton creation failed") );
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user