avoid warning about unreachable code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
remove unused macro definition

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
cast to proper type to avoid warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
avoid warning about shadowed variable

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775