Turns out there were three other expressions with this precedence problem in it within WndMainWindow.cpp.