List Info

Thread: wxEVT_CREATE event handler




wxEVT_CREATE event handler
user name
2006-10-11 02:36:46

When I add an event handler for the wxEVT_CREATE event in a wxDialog derived
class, it creates a EVT_WINDOW_CREATE(MyDialog::OnCreate) entry, instead of
an
EVT_INIT_DIALOG(MyDialog::OnCreate ) entry.
This, of course, means that the OnCreate function prototype is different,
because it has to receive a wxInitDialogEvent:
void wxDlgSelOpcion::OnCreate( wxInitDialogEvent&; event )
I modified the code manually and it works with EVT_INIT_DIALOG declarator.
Is this solved in current versions of DialogBlocks ?
or is it planned to be solved ?
I am using DialogBlocks 2005 v 3.10 under win xp, for testing purposes.

Thanks,
Kind regards
Domingo Becker

__._,_.___
.

__,_._,___
wxEVT_CREATE event handler
user name
2006-10-11 06:48:48

Hi,

I need to add support for wxInitDialogEvent... will do so in the next
release.

Thanks,

Julian

Boris Becker wrote:
> When I add an event handler for the wxEVT_CREATE event in a wxDialog derived
> class, it creates a EVT_WINDOW_CREATE(MyDialog::OnCreate) entry, instead of
> an
> EVT_INIT_DIALOG(MyDialog::OnCreate ) entry.
> This, of course, means that the OnCreate function prototype is different,
> because it has to receive a wxInitDialogEvent:
> void wxDlgSelOpcion::OnCreate( wxInitDialogEvent&; event )
> I modified the code manually and it works with EVT_INIT_DIALOG declarator.
> Is this solved in current versions of DialogBlocks ?
> or is it planned to be solved ?
> I am using DialogBlocks 2005 v 3.10 under win xp, for testing purposes.
>
> Thanks,
> Kind regards
> Domingo Becker
>
>
>
>
>
> Yahoo! Groups Links
>;
>
>
>
>
>
>
>
>
>
>
>;

--
Julian Smart, Anthemion Software Ltd.
28/5 Gillespie Crescent, Edinburgh, Midlothian, EH10 4HU
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
wxWidgets RAD: www.anthemion.co.uk/dialogblocks

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )