TkinterEP / ttkthemes

A group of themes for the ttk extenstions for Tkinter
GNU General Public License v3.0
364 stars 47 forks source link

Merge fix into master to fix bug #74 #76

Closed RedFantom closed 4 years ago

RedFantom commented 4 years ago

This fixes issue #74.

When a theme is set at initialization of ThemedTk and toplevel=True, then the hook is installed before setting self.__init_toplevel to the original tk.Toplevel.__init__, causing it instead to be set to the local function that is meant to be the hook, creating infinite recursion.