User forums > Using Code::Blocks

wxSmith: have a option set _() to _T()?

(1/2) > >>

Loaden:
Now, use wxSmith, the code like:
--- Code: ---_("&Exit")
--- End code ---
but i want:
--- Code: ---_T("&Exit")
--- End code ---

How to set?
Thanks!

byo:
Currently there's no option for that. wxSmith uses _() where string will be directly presented on the screen, otherwise _T() is used.

BYO

Borr:
I have the same problem, but i want


--- Code: ---wxT("&Exit")

--- End code ---

Jenna:

--- Quote from: Borr on October 19, 2010, 10:25:24 am ---I have the same problem, but i want


--- Code: ---wxT("&Exit")

--- End code ---

--- End quote ---
wxT() and _T() are exactly the same.

Borr:

--- Quote from: jens on October 19, 2010, 10:35:32 am ---
--- Quote from: Borr on October 19, 2010, 10:25:24 am ---I have the same problem, but i want


--- Code: ---wxT("&Exit")

--- End code ---

--- End quote ---
wxT() and _T() are exactly the same.

--- End quote ---

I tried wxWidgets 2.9.0. Project with _() failed compile. wxSmith for non-English strings use _().

Navigation

[0] Message Index

[#] Next page

Go to full version