Re: EVENT_TABLE compilation error under Debian 12
Сергей Коныгин <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
Yes! I didn't notice. Thanks! понедельник, 19 июня 2023 г. в 15:55:07 UTC+4, Vadim Zeitlin: > 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/ > -- Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. --- You received this message because you are subscribed to the Google Groups "wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/cc79fcc9-f577-474e-8932-c23e4534e36fn%40googlegroups.com.