Add parentheses to silence warning. (and for clarity)

Originally committed to SVN as r3457.
This commit is contained in:
Amar Takhar 2009-09-02 08:21:09 +00:00
parent aacc50702f
commit 24c7ceb0ab
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ DialogAutomation::DialogAutomation(wxWindow *parent, Automation4::ScriptManager
// main layout
wxSizer *main_box = new wxBoxSizer(wxVERTICAL);
main_box->Add(list, 1, wxEXPAND|wxALL, 5);
main_box->Add(button_box, 0, wxEXPAND|wxALL&~wxTOP, 5);
main_box->Add(button_box, 0, wxEXPAND|(wxALL&~wxTOP), 5);
main_box->SetSizeHints(this);
SetSizer(main_box);
Center();