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

View file

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