X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9ce02acf8af146a6fe2c236623652b03d9e9534..343acb82b7670a1b5d5991d3109f0ae1d9267c70:/contrib/src/mmedia/vidxanm.cpp diff --git a/contrib/src/mmedia/vidxanm.cpp b/contrib/src/mmedia/vidxanm.cpp index 60a45d87d4..b0d061854d 100644 --- a/contrib/src/mmedia/vidxanm.cpp +++ b/contrib/src/mmedia/vidxanm.cpp @@ -12,7 +12,7 @@ #pragma implementation "vidxanm.h" #endif -#include +#include "wx/wxprec.h" #ifndef WX_PRECOMP #include @@ -372,7 +372,7 @@ bool wxVideoXANIM::CollectInfo() wxInputStream *infoStream = xanimProcess->GetInputStream(); wxString totalOutput; - while (infoStream->LastError() == wxSTREAM_NOERROR) { + while (infoStream->GetLastError() == wxSTREAM_NO_ERROR) { char line[100]; infoStream->Read(line, sizeof(line)-1); @@ -468,8 +468,7 @@ bool wxVideoXANIM::RestartXANIM() GtkPizza *pizza = GTK_PIZZA( m_video_output->m_wxwindow ); GdkWindow *window = pizza->bin_window; - m_internal->xanim_window = - ((GdkWindowPrivate *)window)->xwindow; + m_internal->xanim_window = GDK_WINDOW_XWINDOW(window); #endif // Get the XANIM atom m_internal->xanim_atom = XInternAtom(m_internal->xanim_dpy,