wx.EVT_BUTTON not response

The GTK warnings are an unfortunate fact of life for wxPython as almost all of the time it’s not a problem or something we can do anything about. The devs working on the gtk port of wxWidgets do take care to do things properly, but it’s often the case that something that doesn’t generate warnings in one build does generate warnings in a different micro release of GTK. Add in different build flags on different distros and it quickly becomes impossible to make a warning free build that works everywhere.

In your case, since it is about not being able to load the theme then my guess is that the build is using Conda’s GTK which doesn’t have access or is unable to find the system GTK theme you have set.

As for the wx.EVT_BUTTON problem, please make a small sample that shows the problem and we’ll give it a look.