Define __WXFUNCTION__ as __func__ and don't use it any more
Use __func__ without checking if the compiler supports it, it's part of C++11 and so should be supported by all compilers. Also use __func__ instead of __WXFUNCTION__ in our own code. No real changes.
This commit is contained in:
parent
cf01a2827b
commit
0f6c54cdb6
7 changed files with 14 additions and 23 deletions
|
|
@ -1158,7 +1158,7 @@ WXDLLIMPEXP_BASE wxString wxSysErrorMsgStr(unsigned long nErrCode = 0);
|
|||
|
||||
// creates wxLogger object for the current location
|
||||
#define wxMAKE_LOGGER(level) \
|
||||
wxLogger(wxLOG_##level, __FILE__, __LINE__, __WXFUNCTION__, wxLOG_COMPONENT)
|
||||
wxLogger(wxLOG_##level, __FILE__, __LINE__, __func__, wxLOG_COMPONENT)
|
||||
|
||||
// this macro generates the expression which logs whatever follows it in
|
||||
// parentheses at the level specified as argument
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue