Re: EVENT_TABLE compilation error under Debian 12
Vadim Zeitlin <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 19 Jun 2023 03:22:53 -0700 (PDT) Сергей Коныгин wrote:
СК> I'm compiling my wxWidgets project under Debian 12. There are some errors
СК> during compilation event tables. There was no errors under any other OS.
You must have upgraded to a new compiler.
СК> BEGIN_EVENT_TABLE( AgrDlg, piaDialog )
СК> // EVT_COMBOBOX( wxID_ANY, OnCombo )
СК> // EVT_GRID_CMD_CELL_LEFT_DCLICK( wxID_ANY, OnGrid )
СК> EVT_BUTTON( wxID_OK, OnOK )
СК> END_EVENT_TABLE()
This is wrong (and always was), you need to use AgrDlg::OnOK and not just
OnOK (and the same for all the other functions, of course).
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
signature.asc
(application/pgp-signature, 196 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iEYEABECAAYFAmSQQhgACgkQBupB3k9sHoa58ACdHiisbnySK6d9M/D8+0weWTar LUUAnjo7ibl3Wtvs4tH9rH8g7ulFDvPM =e5Gi -----END PGP SIGNATURE-----