I am unfamiliar with this syntax and am having trouble finding info about it...
void MyTextCtrl::OnChar(wxKeyEvent& event)
{
if ( isalpha( event.KeyCode() ) )
{
// key code is within legal range. we call event.Skip() so the
// event can be processed either in the base wxWidgets class
// or the native control.
event.Skip();
}
else
{
// illegal key hit. we don't call event.Skip() so the
// event is not processed anywhere else.
wxBell();
}
}
I get unfamillar with the first line where the :: is. could someone explain what type of operator or other this is?
also on execution get error right at this point.