snippet for wxWidgets