void ScanCodeCtrl::OnKeyDown( wxKeyEvent& event )
{ wxString buf;
- buf.Printf( "0x%04x", event.KeyCode() );
+ buf.Printf( "0x%04x", event.GetKeyCode() );
SetValue( buf );
}
void TestGLCanvas::OnKeyDown( wxKeyEvent& event )
{
- long evkey = event.KeyCode();
+ long evkey = event.GetKeyCode();
if (evkey == 0) return;
if (!m_TimeInitialized)