[1267725] Wrong operator for logical/bitwise operation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -81,7 +81,7 @@ bool wxButton::Create(wxWindow *parent,
|
||||
if (label.empty() && wxIsStockID(id))
|
||||
label = wxGetStockLabel(id);
|
||||
|
||||
long ctrl_style = style & !wxBU_ALIGN_MASK;
|
||||
long ctrl_style = style & ~wxBU_ALIGN_MASK;
|
||||
|
||||
wxASSERT_MSG( (ctrl_style & wxALIGN_MASK) == 0,
|
||||
_T("Some style conflicts with align flags") );
|
||||
|
Reference in New Issue
Block a user