wxrc generates code which contains _T() macro instead of wxT() macro
|Reported by:||BrianCameron||Owned by:|
The wxrc program generates code which contains _T() macro instead of the wxT() macro
Note that we worked hard to fix bug #10660. The _T macro does not work with the Sun Stuio compiler, and fixing bug #10660 makes it possible to build wxWidgets code with the Sun Studio compiler as long as the wxT() macro is used instead of the _T() macro.
However, the wxrc program still generates coe which contains the _T() macro so you need to hand-edit the generated code to compile it. It would be better if wxrc generated code that used the wxT() macro instead.
For example, see pgadmin xrcdialogs.cpp
for example line:
26402 XRC_ADD_FILE(wxT("XRC_resource/xrcDialogs.cpp$._dlgAddFavourite.xrc"), xml_res_file_0, xml_res_size_0, _T("text/xml"));
Can this issue be fixed?
Change History (4)
comment:3 Changed 4 years ago by vadz
- Resolution changed from fixed to port to stable
- Status changed from closed to portneeded