new wxgtk approach