Allow initializing wxWidgets multiple times against one instance of GTK+

See #17751
This commit is contained in:
Paul Cornett
2016-12-15 19:37:12 -08:00
parent 85302845ab
commit db9858a93c
2 changed files with 25 additions and 0 deletions

View File

@@ -325,6 +325,10 @@ 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,