Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

wxSmith bug with wxChoice?

(1/2) > >>

stefanos_:
Hello everyone.

Can someone please test a demo frame project by adding a wxChoice and try to add a few values from "Resources > Choice" please? I am adding values for how many times now and the "Show preview" displays them correctly but the actual application not!

If I am doing anything wrong, please let me know so.

I use the latest revision (6416) but the same issue existed from 6411.

Specs:

Windows XP Professional SP3
wxMSW-2.8.10
TDM's GCC 4.5.0

Thanks.

stefanos_

stefanos_:
Hm...I closed wxs GUI file and worked immediately with source code files. I manually added 2-3 test string values and compiled my project. It was OK, but upon opening wxs file, my test values disappeared.


I added values in "Choice" area and re-compiled my project. The Show preview showed the actual values but after got suspicious, I opened wxs with internal editor and saw that my string values were not added.

Possible wxSmith bug. Please confirm.

Thanks.

Stefanos_

Jenna:
Works fine on linux.

Changing the sources directly has no effect unless you do it outside the //(* and //*) tags.
All code inside will be overwritten by wxSmith.

stefanos_:
I haven't checked it under GNU / Linux, but for sure the problems remain the same even with the latest revision. I do the same as before; I am adding string names in "Choices" and upon running the application, only the old values are shown.

With the "show preview" I can see them, but not otherwise. I have even re-compile the code, and still the same.

NOTE: I just checked my code under GNU / Linux Mint 9 (VirtualBox), and the same issue exists here. I would really appreciate it if someone could show me what I am doing wrong.

Regards,

stefanos_

stefanos_:
OK, more news, weirder though this time.

For some reason wxSmith does not accept any GUI tweaking (like string values in wxChoice, column labels in wxGrid and the like), not until I check-uncheck any style from wxFrame and recompile the code. As soon as I do this, I see immediate changes.

Is it because I'm under Windows XP? I don't have other versions of Windows.

Navigation

[0] Message Index

[#] Next page

Go to full version