No, it's the opposite you need to do. You need to changeand by the way i change the
wxwidgets:
EVT_KEY_DOWN(_2Frame::OnChar)
to
wxwidgets:
EVT_KEY_DOWN(wxTextCtrl::OnChar)
it compiles well with ot any error !but actually it doesnt function as it is supposed to!( its like ive never used that function!!)
Code: Select all
void wxTextCtrl::OnChar(wxKeyEvent& event)
{
Code: Select all
void _2Frame::OnChar(wxKeyEvent& event)
{
I'm still not sure what you mean. If by "standard identifiers" you mean IDs like wxID_ABOUT, I think they are only really used on wxMac, where some menu items have pre-definite locations; so using the right ID allows you to use the right location. Apart from that i don't think there's any use.so this is what im talking about ! those standard identifiers are only useful when i ='ve already used sth standard, am i right? i believe i saw sth on the online documentation wiki! about "::wxAboutBox" , if i only use this with standard identifier, they would change among platforms! right! so that is the use of standard identifiers !