News:

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

Main Menu

wxSmith: Why a wxMenu object is an automatic variable ?

Started by Quentin028, October 03, 2010, 03:17:00 PM

Previous topic - Next topic

Quentin028

Hi there!

I'd like to ask why a wxMenu object - created by means of wxSmith - is an automatic variable ? I thought that all controls should be created on the heap...

However, if I create wxMenuBar first and add some wxMenus - they'll be allocated on the heap.

Do you know why is this allocating differentiated :?: