Allow initializing wxWidgets multiple times against one instance of GTK+
See #17751
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user