Allow initializing wxWidgets multiple times against one instance of GTK+, part 2
See #17751
This commit is contained in:
@@ -327,7 +327,10 @@ GType wxPizza::type()
|
|||||||
{
|
{
|
||||||
type = g_type_from_name("wxPizza");
|
type = g_type_from_name("wxPizza");
|
||||||
if (type)
|
if (type)
|
||||||
|
{
|
||||||
|
parent_class = GTK_WIDGET_CLASS(g_type_class_peek_parent(g_type_class_peek(type)));
|
||||||
return type;
|
return type;
|
||||||
|
}
|
||||||
|
|
||||||
const GTypeInfo info = {
|
const GTypeInfo info = {
|
||||||
sizeof(wxPizzaClass),
|
sizeof(wxPizzaClass),
|
||||||
|
Reference in New Issue
Block a user