No real changes, just don't use obsolete FORCE_LINK_ME in wxMediaCtrl.

Use wxFORCE_LINK_THIS_MODULE() instead of the obsolete FORCE_LINK_ME.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-09-09 20:33:56 +00:00
parent 9b10161eb6
commit 6161dd2d48
3 changed files with 13 additions and 9 deletions

View File

@@ -2258,8 +2258,9 @@ void wxAMMediaEvtHandler::OnActiveX(wxActiveXEvent& event)
// End of wxAMMediaBackend
//---------------------------------------------------------------------------
// in source file that contains stuff you don't directly use
#include "wx/html/forcelnk.h"
FORCE_LINK_ME(wxmediabackend_am)
// Allow the user code to use wxFORCE_LINK_MODULE() to ensure that this object
// file is not discarded by the linker.
#include "wx/link.h"
wxFORCE_LINK_THIS_MODULE(wxmediabackend_am)
#endif // wxUSE_MEDIACTRL && wxUSE_ACTIVEX