mirror of https://github.com/PCSX2/pcsx2.git
Merge pull request #908 from micove/WX_PIZZA
Linux GUI: Fix invalid cast from 'wxPizza' to 'GtkBin'.
This commit is contained in:
commit
b13a1ff3dd
|
@ -973,7 +973,7 @@ void Pcsx2App::OpenGsPanel()
|
|||
#if wxMAJOR_VERSION < 3
|
||||
GtkWidget *child_window = gtk_bin_get_child(GTK_BIN(gsFrame->GetViewport()->GetHandle()));
|
||||
#else
|
||||
GtkWidget *child_window = (GtkWidget*)GTK_BIN(gsFrame->GetViewport()->GetHandle());
|
||||
GtkWidget *child_window = GTK_WIDGET(gsFrame->GetViewport()->GetHandle());
|
||||
#endif
|
||||
|
||||
gtk_widget_realize(child_window); // create the widget to allow to use GDK_WINDOW_* macro
|
||||
|
|
Loading…
Reference in New Issue