Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Modified & Improved wxWidgets Project Wizard
rjmyst3:
--- Quote from: Biplab on February 26, 2007, 05:40:26 pm ---I'm using Feb 17, 2007 build (3.0.20 beta 3) which produces v1.5 project files. So do I need to update the project files or wxFB will convert it once opened? :)
--- End quote ---
wxFB will convert them.
You can expect a new build today - hopefully within the hour. 8)
Biplab:
An important update has been applied to the wizard. I found that the generated apps are not closing properly if they are closed by pressing the Close(x) button. This update fixes that issue.
Changes:
* EVT_CLOSE has been added in all templates to ensure proper exit.
Committed in revision 3645. :)
--- Quote from: rjmyst3 on February 26, 2007, 05:46:15 pm ---wxFB will convert them.
You can expect a new build today - hopefully within the hour. 8)
--- End quote ---
That's great. :)
Biplab:
Latest change:
* OpenWatcom support has been added.
Known Issue:
* PCH support is not currently available for OpenWatcom. This will be added later.
Tested with OpenWatcom 1.6, wxMSW-2.9.0-CVS-(Debug & Release-DLL-Unicode-Monolithic) wxWidgets Lib. :)
basurapr:
--- Quote from: ascxaxsvcbsxbbqvcxqsbcvxs on February 07, 2007, 12:34:15 pm ---
1) I installed CB version 3565 on XP
2) I installed wxWidgets 2.8.0 and compiled it with gcc with unicode => OK
3) use of the wizard to generate a basic application with unicode => compile and execute OK with gcc
4) Then without modifying any CB option anywhere, i just add the special letter é to the title of the windows:
original line, generated by the wizard
azeFrame* frame = new azeFrame(0L, _("wxWidgets Application Template"));
modified line, for beginning to test the unicode support
azeFrame* frame = new azeFrame(0L, _("wxWidgets Application Templateé"));
no other modification except this character => i got the compile message "Illegal byte sequence".
5) If i suppress this character => compile OK
6) I've now tried several times with last build 3577 => same problem, but the error message is now
"converting to execution character set: Invalid argument"
--- End quote ---
I was having the same problem,
First goto the menu "Project->Build Options" then click your project name. Inside of your global project settings select "Compiler Settings" then click "Other Options" tab, now in that multiline text control write this:
-finput-charset=iso-8859-1
That will fix the problem compiling the standard Latin characters available in the ascci table: á é í ó ú ñ Ñ É and others I does not remember. :)
ascxaxsvcbsxbbqvcxqsbcvxs:
--- Quote from: basurapr on March 11, 2007, 04:12:18 am ---
--- Quote from: ascxaxsvcbsxbbqvcxqsbcvxs on February 07, 2007, 12:34:15 pm ---
1) I installed CB version 3565 on XP
2) I installed wxWidgets 2.8.0 and compiled it with gcc with unicode => OK
3) use of the wizard to generate a basic application with unicode => compile and execute OK with gcc
4) Then without modifying any CB option anywhere, i just add the special letter é to the title of the windows:
original line, generated by the wizard
azeFrame* frame = new azeFrame(0L, _("wxWidgets Application Template"));
modified line, for beginning to test the unicode support
azeFrame* frame = new azeFrame(0L, _("wxWidgets Application Templateé"));
no other modification except this character => i got the compile message "Illegal byte sequence".
5) If i suppress this character => compile OK
6) I've now tried several times with last build 3577 => same problem, but the error message is now
"converting to execution character set: Invalid argument"
--- End quote ---
I was having the same problem,
First goto the menu "Project->Build Options" then click your project name. Inside of your global project settings select "Compiler Settings" then click "Other Options" tab, now in that multiline text control write this:
-finput-charset=iso-8859-1
That will fix the problem compiling the standard Latin characters available in the ascci table: á é í ó ú ñ Ñ É and others I does not remember. :)
--- End quote ---
Tested it: thank you it works :lol:
Someone here said before that these characters were supported natively, so i was confused. Nevermind, thank you very much!
I wonder, why such an important option have to be put manually in the "other options" tab? :shock: If you use Unicode, this option is mandatory!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version