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