User forums > Using Code::Blocks

Strange wxSmith behaviour

<< < (3/3)

paul_c_weiss:
Thank you for bearing with me!!

Now, some answer to your interrogations:

1) Apparently, the Windows zipper had some hiccups. Anyway the relevant .wxs file is no attached
   (I suppose that its structure play a role....)
2) Indeed I am in the process of porting my system from Code::Blocks 13.12, wxwidgets 2.8 to Code::Blocks 16.01, wxWidgets 3.0.
    For this reason, I have this program on both systems, and BOTH show an execution error, but not exactly the same.
    On  2.8, the error occurs at program closing, while on 3.0, it occurs at program beginning.
3) Apparently, I committed a critical sin by mixing themonolotic and shared options. Now, I know that this is not the subject of this post,
   but if somebody could explain me how to avoid this, I would be grateful. I created the project witn Code::Blocks wizard, the relevant option being:
   - wxSmith
  - Frame Based
  - use wxWidgets DLL
  - Enable Unicode
  - Create & use precomplied headers (PCH)
   Consciously, I didn ot do anything else? So what???

Thank you again, and regards!

Paul

Xaviou:
Hi to all.

I've tested the small test project, and found the error :
In the constructor of the frame, a sizer is affected to both a child panel and the frame itself (lines 94 and 95).

I don't know if the code comes from wxSmith or or if it was entered manually by the author, but commenting the lines 95 and 96 removes the crash.

Regards
Xav'

Navigation

[0] Message Index

[*] Previous page

Go to full version