I’m exploring wxWidgets and at the same time learning C/C++. Often wxWidgets functions expect a wxString rather than a string, therefore wxWidgets provides a macro wxT(yourString) for creating wxStrings. My question concerns the expansion of this macro. If you type wxT("banana") the expanded macro reads L"banana". What meaning does this have in C? Is L a function here that is called with argument “banana”?
I’m exploring wxWidgets and at the same time learning C/C++. Often wxWidgets functions expect
Share
"banana"is the word written using 1-byte ASCII characters.L"banana"is the word written using multi-byte (general 2=byte UNICODE) characters.