projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reset g_lastMouseEvent after processing the mouse button release event
[wxWidgets.git]
/
src
/
msw
/
mediactrl_wmp10.cpp
diff --git
a/src/msw/mediactrl_wmp10.cpp
b/src/msw/mediactrl_wmp10.cpp
index e1f8e1d08879b71ae95f744f50a50f83398a7844..1604899da828678e3f2e725a4b8eb7d64e69dfee 100644
(file)
--- a/
src/msw/mediactrl_wmp10.cpp
+++ b/
src/msw/mediactrl_wmp10.cpp
@@
-50,20
+50,14
@@
#pragma hdrstop
#endif
#pragma hdrstop
#endif
-//---------------------------------------------------------------------------
-// MediaCtrl include
-//---------------------------------------------------------------------------
+#if wxUSE_MEDIACTRL && wxUSE_ACTIVEX
+
#include "wx/mediactrl.h"
#include "wx/mediactrl.h"
-//---------------------------------------------------------------------------
-// Compilation guard
-//---------------------------------------------------------------------------
-#if wxUSE_MEDIACTRL
+#ifndef WX_PRECOMP
+ #include "wx/log.h"
+#endif
-//---------------------------------------------------------------------------
-// WX Includes
-//---------------------------------------------------------------------------
-#include "wx/log.h" // wxLogDebug
#include "wx/msw/private.h" // user info and wndproc setting/getting
#include "wx/msw/ole/activex.h" // wxActiveXContainer - COM-specific stuff
#include "wx/msw/private.h" // user info and wndproc setting/getting
#include "wx/msw/ole/activex.h" // wxActiveXContainer - COM-specific stuff
@@
-1515,7
+1509,4
@@
bool MyApp::OnInit()
#endif // WMP mobile 9 hacks
#endif // WMP mobile 9 hacks
-//---------------------------------------------------------------------------
-// End wxMediaCtrl Compilation Guard and this file
-//---------------------------------------------------------------------------
-#endif // wxUSE_MEDIACTRL
+#endif // wxUSE_MEDIACTRL && wxUSE_ACTIVEX