git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34293
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
DEFAULT_wxUSE_TEXTFILE=no
DEFAULT_wxUSE_SOUND=no
DEFAULT_wxUSE_MEDIACTRL=no
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_INTL=no
DEFAULT_wxUSE_CONFIG=no
DEFAULT_wxUSE_FONTMAP=no
DEFAULT_wxUSE_TEXTFILE=yes
DEFAULT_wxUSE_SOUND=yes
DEFAULT_wxUSE_MEDIACTRL=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
DEFAULT_wxUSE_INTL=yes
DEFAULT_wxUSE_CONFIG=yes
DEFAULT_wxUSE_FONTMAP=yes
dnl ---------------------------------------------------------------------------
if test "$wxUSE_MEDIACTRL" = "yes"; then
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 -----------------------------------------------------------------------
dnl -----------------------------------------------------------------------
dnl GStreamer
dnl -----------------------------------------------------------------------
#define wxUSE_ON_FATAL_EXCEPTION 0
// media stuff not supported under CE
#define wxUSE_ON_FATAL_EXCEPTION 0
// media stuff not supported under CE
-#undef wxUSE_DIRECTSHOW
-#define wxUSE_DIRECTSHOW 0
-
#undef wxUSE_MEDIACTRL
#define wxUSE_MEDIACTRL 0
#undef wxUSE_MEDIACTRL
#define wxUSE_MEDIACTRL 0
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
-// Use QuickTime
-//
-// Default is 0
-//
-// Recommended setting: 1 if you have the QT SDK installed and you need it, else 0
-#define wxUSE_QUICKTIME 0
-
-// Use DirectShow (requires linkage to strmiids.lib)
-//
-// Default is 0
-//
-// Recommended setting: 1 if the DirectX 7 SDK is installed (highly recommended), else 0
-#define wxUSE_DIRECTSHOW 0
-
// Use GStreamer for Unix (req a lot of dependancies)
//
// Default is 0
// Use GStreamer for Unix (req a lot of dependancies)
//
// Default is 0
//
//---------------------------------------------------------------------------
//
//---------------------------------------------------------------------------
-//---------------------------------------------------------------------------
-// Compilation guard for DirectShow
-//---------------------------------------------------------------------------
-#if wxUSE_DIRECTSHOW
-
//---------------------------------------------------------------------------
// COM includes
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// COM includes
//---------------------------------------------------------------------------
DECLARE_DYNAMIC_CLASS(wxAMMediaBackend);
};
DECLARE_DYNAMIC_CLASS(wxAMMediaBackend);
};
-#endif //wxUSE_DIRECTSHOW
-
//---------------------------------------------------------------------------
//
// wxMCIMediaBackend
//---------------------------------------------------------------------------
//
// wxMCIMediaBackend
//
//---------------------------------------------------------------------------
//
//---------------------------------------------------------------------------
-//---------------------------------------------------------------------------
-// QT Compilation Guard
-//---------------------------------------------------------------------------
-#if wxUSE_QUICKTIME
-
//---------------------------------------------------------------------------
// QT Includes
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// QT Includes
//---------------------------------------------------------------------------
DECLARE_DYNAMIC_CLASS(wxQTMediaBackend);
};
DECLARE_DYNAMIC_CLASS(wxQTMediaBackend);
};
-//---------------------------------------------------------------------------
-// End QT Compilation Guard
-//---------------------------------------------------------------------------
-#endif //wxUSE_QUICKTIME
//===========================================================================
// IMPLEMENTATION
//===========================================================================
// 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
IMPLEMENT_DYNAMIC_CLASS(wxAMMediaBackend, wxMediaBackend);
// Numerical value for when the graph reaches the stop position
-#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,
wxAMVERIFY( m_pME->SetNotifyWindow((LONG_PTR)m_hNotifyWnd,
//---------------------------------------------------------------------------
// End of wxAMMediaBackend
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// End of wxAMMediaBackend
//---------------------------------------------------------------------------
-#endif //wxUSE_DIRECTSHOW
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
-#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);
::SetWindowLong(m_hNotifyWnd, GWL_USERDATA,
(LONG) this);
// TODO: Dynamically load from qtml.dll
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// TODO: Dynamically load from qtml.dll
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
IMPLEMENT_DYNAMIC_CLASS(wxQTMediaBackend, wxMediaBackend);
//Time between timer calls
IMPLEMENT_DYNAMIC_CLASS(wxQTMediaBackend, wxMediaBackend);
//Time between timer calls
}
//---------------------------------------------------------------------------
}
//---------------------------------------------------------------------------
-// End QT Compilation Guard
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
-#endif //wxUSE_QUICKTIME
//in source file that contains stuff you don't directly use
#include <wx/html/forcelnk.h>
//in source file that contains stuff you don't directly use
#include <wx/html/forcelnk.h>