After the recent changes _T() is not defined any longer when using Sun CC but this file does need it to be defined and seems to compile fine when it is, so define wxNEEDS_T before including any wx headers. See #10660. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775