Predefine wxNEEDS_T to fix wxrc compilation with Sun CC.

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
This commit is contained in:
Vadim Zeitlin
2009-09-09 22:37:14 +00:00
parent 6dfeacd66f
commit cdf7bf04aa

View File

@@ -8,6 +8,9 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// To fix compilation when using Sun CC we must define _T() for this file.
#define wxNEEDS_T
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"