Merge pull request #908 from micove/WX_PIZZA

Linux GUI: Fix invalid cast from 'wxPizza' to 'GtkBin'.
This commit is contained in:
micove 2015-10-21 16:38:21 -04:00
commit b13a1ff3dd
1 changed files with 1 additions and 1 deletions

View File

@ -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