DEFAULT_wxUSE_TEXTFILE=no
DEFAULT_wxUSE_SOUND=no
DEFAULT_wxUSE_MEDIACTRL=no
- DEFAULT_wxUSE_DIRECTSHOW=no
DEFAULT_wxUSE_INTL=no
DEFAULT_wxUSE_CONFIG=no
DEFAULT_wxUSE_FONTMAP=no
DEFAULT_wxUSE_TEXTFILE=yes
DEFAULT_wxUSE_SOUND=yes
DEFAULT_wxUSE_MEDIACTRL=no
- DEFAULT_wxUSE_DIRECTSHOW=no
DEFAULT_wxUSE_INTL=yes
DEFAULT_wxUSE_CONFIG=yes
DEFAULT_wxUSE_FONTMAP=yes
dnl ---------------------------------------------------------------------------
if test "$wxUSE_MEDIACTRL" = "yes"; then
- if test "$wxUSE_MSW" = 1; then
- dnl -----------------------------------------------------------------------
- dnl DirectShow MSW
- dnl -----------------------------------------------------------------------
- wxUSE_DIRECTSHOW="yes"
- AC_CHECK_HEADERS([dshow.h], [],
- [
- wxUSE_DIRECTSHOW="no"
- AC_MSG_WARN([DirectShow not installed; consider installing the DirectX7 SDK or higher])
- ],
- [#include <windows.h>])
-
- if test "$wxUSE_DIRECTSHOW" = "yes"; then
- AC_DEFINE(wxUSE_DIRECTSHOW)
- LIBS="$LIBS -lstrmiids"
- fi
- fi
-
dnl -----------------------------------------------------------------------
dnl GStreamer
dnl -----------------------------------------------------------------------
//
//---------------------------------------------------------------------------
-//---------------------------------------------------------------------------
-// Compilation guard for DirectShow
-//---------------------------------------------------------------------------
-#if wxUSE_DIRECTSHOW
-
//---------------------------------------------------------------------------
// COM includes
//---------------------------------------------------------------------------
DECLARE_DYNAMIC_CLASS(wxAMMediaBackend);
};
-#endif //wxUSE_DIRECTSHOW
-
//---------------------------------------------------------------------------
//
// wxMCIMediaBackend
//
//---------------------------------------------------------------------------
-//---------------------------------------------------------------------------
-// QT Compilation Guard
-//---------------------------------------------------------------------------
-#if wxUSE_QUICKTIME
-
//---------------------------------------------------------------------------
// QT Includes
//---------------------------------------------------------------------------
DECLARE_DYNAMIC_CLASS(wxQTMediaBackend);
};
-//---------------------------------------------------------------------------
-// End QT Compilation Guard
-//---------------------------------------------------------------------------
-#endif //wxUSE_QUICKTIME
//===========================================================================
// IMPLEMENTATION
//
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-//---------------------------------------------------------------------------
-// Only use if user wants it -
-//---------------------------------------------------------------------------
-#if wxUSE_DIRECTSHOW
-
IMPLEMENT_DYNAMIC_CLASS(wxAMMediaBackend, wxMediaBackend);
// Numerical value for when the graph reaches the stop position
return false;
}
-#if defined(_WIN32)
- ::SetWindowLong(m_hNotifyWnd, GWL_WNDPROC,
- (LONG)wxAMMediaBackend::NotifyWndProc);
- ::SetWindowLong(m_hNotifyWnd, GWL_USERDATA,
- (LONG) this);
-#else
- ::SetWindowLongPtr(m_hNotifyWnd, GWLP_WNDPROC,
- (LONG_PTR)wxAMMediaBackend::NotifyWndProc);
- ::SetWindowLongPtr(m_hNotifyWnd, GWL_USERDATA,
- (LONG) this);
-#endif
+ wxSetWindowProc(m_hNotifyWnd, wxAMMediaBackend::NotifyWndProc);
+ wxSetWindowUserData(m_hNotifyWnd, (void*)this);
wxAMVERIFY( m_pME->SetNotifyWindow((LONG_PTR)m_hNotifyWnd,
//---------------------------------------------------------------------------
// End of wxAMMediaBackend
//---------------------------------------------------------------------------
-#endif //wxUSE_DIRECTSHOW
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
return false;
}
-#if defined(_WIN32)
- ::SetWindowLong(m_hNotifyWnd, GWL_WNDPROC,
- (LONG)wxMCIMediaBackend::NotifyWndProc);
-#else
- ::SetWindowLongPtr(m_hNotifyWnd, GWLP_WNDPROC,
- (LONG_PTR)wxMCIMediaBackend::NotifyWndProc);
-#endif
+ wxSetWindowProc(m_hNotifyWnd, wxMCIMediaBackend::NotifyWndProc);
::SetWindowLong(m_hNotifyWnd, GWL_USERDATA,
(LONG) this);
// TODO: Dynamically load from qtml.dll
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-#if wxUSE_QUICKTIME
-
IMPLEMENT_DYNAMIC_CLASS(wxQTMediaBackend, wxMediaBackend);
//Time between timer calls
}
//---------------------------------------------------------------------------
-// End QT Compilation Guard
+// End QT Backend
//---------------------------------------------------------------------------
-#endif //wxUSE_QUICKTIME
//in source file that contains stuff you don't directly use
#include <wx/html/forcelnk.h>