News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

wxSmith bug with wxChoice?

Started by stefanos_, July 24, 2010, 08:14:26 PM

Previous topic - Next topic

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_

#3
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.

Jenna

#5
Changes in wxSmith will never be visible without compiling your code.

EDIT:
If you use xrc-files the changes might be there without recompiling.

stefanos_

well, until now all I was doing was recompiling the code and the error was there. After I "check-uncheck" any style enumeration, the changes were included.

If you are using Windows, can you please give a try and let me know? Currently I am on my laptop (Fedora 13) and I will give a shot right now.