Revert "Suppress warning when compiling with wxWidgets 2.8"

This reverts commit 4977c47e8ba31647d25bf460d8417f1047bbfbac.