]> git.saurik.com Git - wxWidgets.git/commitdiff
WinCE fixes (in case a WinCE-friendly backend gets written one day)
authorJulian Smart <julian@anthemion.co.uk>
Wed, 25 Jan 2006 18:15:24 +0000 (18:15 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 25 Jan 2006 18:15:24 +0000 (18:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/mediactrl.cpp

index 7384442f50a9f68763d9a810ca6201d42088f575..2761249eb8e65b21ad63ae45778a0b1d34017aff 100644 (file)
@@ -919,6 +919,7 @@ public:
 //---------------------------------------------------------------------------
 //  MCI Includes
 //---------------------------------------------------------------------------
+#ifndef __WXWINCE__
 #include <mmsystem.h>
 
 class WXDLLIMPEXP_MEDIA wxMCIMediaBackend : public wxMediaBackendCommonBase
@@ -974,6 +975,7 @@ public:
 
     DECLARE_DYNAMIC_CLASS(wxMCIMediaBackend)
 };
+#endif
 
 //---------------------------------------------------------------------------
 //
@@ -2160,6 +2162,7 @@ void wxAMMediaBackend::Move(int WXUNUSED(x), int WXUNUSED(y),
 //
 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
+#ifndef __WXWINCE__
 IMPLEMENT_DYNAMIC_CLASS(wxMCIMediaBackend, wxMediaBackend)
 
 //---------------------------------------------------------------------------
@@ -2678,7 +2681,9 @@ LRESULT CALLBACK wxMCIMediaBackend::OnNotifyWndProc(HWND hWnd, UINT nMsg,
     }
     return DefWindowProc(hWnd, nMsg, wParam, lParam);
 }
-
+#endif
+    // __WXWINCE__
+    
 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 //
 // wxQTMediaBackend