Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Loaden on October 04, 2008, 10:30:13 am
-
Now, use wxSmith, the code like:but i want:
How to set?
Thanks!
-
Currently there's no option for that. wxSmith uses _() where string will be directly presented on the screen, otherwise _T() is used.
BYO
-
I have the same problem, but i want
-
I have the same problem, but i want
wxT() and _T() are exactly the same.
-
I have the same problem, but i want
wxT() and _T() are exactly the same.
I tried wxWidgets 2.9.0. Project with _() failed compile. wxSmith for non-English strings use _().
-
I think we need a option to use _() or _T("").
:)
-
Done in rev6741. :D
If you want switch the option, you need editing cbp project file, like this:
<Extensions>
<code_completion />
<debugger />
<wxsmith version="1">
<gui name="wxWidgets" src="sssApp.cpp" main="sssFrame" init_handlers="necessary" language="CPP" />
<resources>
<wxFrame wxs="wxsmith/sssframe.wxs" src="sssMain.cpp" hdr="sssMain.h" fwddecl="0" i18n="1" name="sssFrame" language="CPP" />
<wxDialog wxs="wxsmith/NewDialog.wxs" src="NewDialog.cpp" hdr="NewDialog.h" fwddecl="0" i18n="1" name="NewDialog" language="CPP" />
<wxPanel wxs="wxsmith/NewPanel.wxs" src="NewPanel.cpp" hdr="NewPanel.h" fwddecl="1" i18n="0" name="NewPanel" language="CPP" />
</resources>
</wxsmith>
</Extensions>
-
many thanks