]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mediactrl_qt.cpp
Correct g++ 4.x warnings about suggested explicit braces.
[wxWidgets.git] / src / msw / mediactrl_qt.cpp
index f5c41dccd21234ce8d9454d98d67af6da91974bf..1d3bd398ccd4fcf28ab9da1af94ecd8664ca4541 100644 (file)
@@ -1281,8 +1281,9 @@ void wxQTMediaEvtHandler::OnEraseBackground(wxEraseEvent& evt)
 //  End QT Backend
 //---------------------------------------------------------------------------
 
-// in source file that contains stuff you don't directly use
-#include "wx/html/forcelnk.h"
-FORCE_LINK_ME(wxmediabackend_qt)
+// 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_qt)
 
 #endif // wxUSE_MEDIACTRL && wxUSE_ACTIVEX