Solid wood is rarely, if ever used in quality speakers. It is far too irregular and, depending on the type of wood, resonates too much.
MDF is popular because of the fact that it does not resonate excessively and it is very consistent.
The design and construction of the cabinet is the biggest factor, however.