Hello,
I have ever seen a chm manual page about creating wx (window/frame) object in stack and heap, and how/when to delete them. I remember that it suggests creating wx (window) objects in heap, don't do it in stack.
It starts with an introduction about precompiled header inclusion. (Not "Hello World Example")
But I can't find it today.
I'm seeking it because I encountered a related issue.
I created a wx event handler, and create a local event variable, then use this variable call this handler again in this handler.
Thus I experienced a stack corrupt, gdb can't trace stack frame correctly (but the program is stil running fine.)
Does anyone know where is such page?
Where is the chm manual page about creating wx object in stack and frame? Topic is solved
Where is the chm manual page about creating wx object in stack and frame?
No, I know everything.
Re: Where is the chm manual page about creating wx object in stack and frame?
Do you mean this one? https://docs.wxwidgets.org/trunk/page_m ... tform.html
(Based on your hints, i just searched for "precompiled")
(Based on your hints, i just searched for "precompiled")
Use the source, Luke!
Re: Where is the chm manual page about creating wx object in stack and frame?
thank you, doublemax,
that's it!.
that's it!.
No, I know everything.