Eric Jensen
2014-06-17 14:57:08 UTC
I couldn't create a ticket for this, i always got "internal server
error" on Trac.
If the event handler for a wxSlider takes wxScrollEvent& as parameter,
compilation fails.
The reason is most likely this line in event.h:
{{{
wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_CORE, wxEVT_SLIDER,
wxCommandEvent);
}}}
If the event handler parameter is changed to wxCommandEvent, it
compiles without error.
Small patch to the minimal sample shows the problem.
Eric
error" on Trac.
If the event handler for a wxSlider takes wxScrollEvent& as parameter,
compilation fails.
The reason is most likely this line in event.h:
{{{
wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_CORE, wxEVT_SLIDER,
wxCommandEvent);
}}}
If the event handler parameter is changed to wxCommandEvent, it
compiles without error.
Small patch to the minimal sample shows the problem.
Eric
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users