Dans la doc il y a la macro suivante :
EVT_CUSTOM(event, id, func) Allows you to add a custom event table entry by specifying the event identifier (such as wxEVT_SIZE), the window identifier, and a member function to call.
Donc dans ton cas quelque chose du genre :
Code :
- EVT_CUSTOM(wxEVT_KILL_FOCUS, ID_SPINCTRL, MyFrame::OnKillFocus)
|
Je n'ai pas tester mais bon ....
---------------
L'agence www.PolyDev.com, entreprise spécialisée dans l'accompagnement et le suivi de vos projets multimédia (3d, 3d web, site web, logiciels spécialisés).