Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

updating WxSmith tutorials

(1/2) > >>

It seems that the last update was some time ago. Not sure if much changed since then, but if anyone is looking at it, the index page list of tutorials does not correspond to the actual tutorial titles, for example.

It'd be nice if someone could do video tutorials and post them on Youtube.

Personally, I find video tutorials do not suit me for this sort of thing. OK for more 'physical activities', but not so good on this 2d sort of stuff. For that, the best for me is information that can be written on paper, can easily mark up the important bits, add my own comments, etc. It was when I printed out the tutorials that  I noticed the problem with the index, since the links work  OK on the screen.

Did you happen to get the Hello World tutorial right?  My code fails just like here and here.  Basically, I follow the instruction and place the wxStaticText inside the second wxBoxSizer.  The code does compile and has a run-time error as described in that StackOverflow post.  Any insight is greatly appreciated.

I sort of got it working, but not in the way it should. I've penciled in what seems to be different on my printout of the tutorial. I'm on windows 10, running the static build of WxWidgets, and realise there will be differences to Linux, say, but there are many 'errors', stuff which is past its sell by date. I can list the problems, that I found, if any help. (some of them may have been  answered later on, but not at the time of first reading.) It gets disconcerting, when having followed the info, a number of times, trying to interpret what might actually be meant, and it just does not work. The problem with the web in general, that nothing is clearly dated, and maybe somewhere is a more current tutorial. This tutorial seems to have been updated about 7 years ago, so some of the detail is now wrong.

I don't know about the stack overflow post, maybe you can link to it, but I do not get a run time error, it just doesn't look as I think it should (there is no image in the tutorial to show what it should look like.)

The main problem, other than referring to icons that have moved as others have been added over the years, is that when adding the sizers, the frame just goes to a small black dot, making it impossible to distinguish the panel from the frame. it ends up with the button and text being on the dark grey original frame, generally with a horizontal line, or sometimes some other artifact, but at least it shows the text, and the button works.

I've tried a few later tutorials, and having got used to the idiosyncrasies, they seem to work a bit better.

Link to the stack overflow post, it may give me a clue, but that is going to be purely by chance, but sometimes...


[0] Message Index

[#] Next page

Go to full version