Revert 21c1c552, "Allow initializing wxWidgets multiple times"

See #17751
This commit is contained in:
Paul Cornett
2016-12-16 23:40:19 -08:00
parent 21c1c5520d
commit 4f607df3d2
2 changed files with 0 additions and 9 deletions

View File

@@ -972,10 +972,5 @@ wxIMPLEMENT_DYNAMIC_CLASS(wxSystemSettingsModule, wxModule);
void wxSystemSettingsModule::OnExit()
{
GtkSettings* settings = gtk_settings_get_default();
g_signal_handlers_disconnect_by_func(settings,
(void*)notify_gtk_theme_name, NULL);
g_signal_handlers_disconnect_by_func(settings,
(void*)notify_gtk_font_name, NULL);
}
#endif

View File

@@ -334,10 +334,6 @@ GType wxPizza::type()
static GType type;
if (type == 0)
{
type = g_type_from_name("wxPizza");
if (type)
return type;
const GTypeInfo info = {
sizeof(wxPizzaClass),
NULL, NULL,