]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/mmedia/cdunix.cpp
Typos fixed and further clarification of the Python situation on Panther
[wxWidgets.git] / contrib / src / mmedia / cdunix.cpp
index 5a8f42de6112044b96b10e6c3c9ce888028eeff4..05b6dd070b93fcd955ee258f3bfd6cb5f24d4e71 100644 (file)
@@ -22,6 +22,8 @@
     #pragma hdrstop
 #endif
 
+#if HAVE_KNOWN_CDROM_INTERFACE
+
 // ---------------------------------------------------------------------------
 // MMedia headers
 // ---------------------------------------------------------------------------
@@ -55,7 +57,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxCDAudioLinux, wxCDAudio)
 wxCDAudioLinux::wxCDAudioLinux()
     : wxCDAudio(), m_fd(-1)
 {
-  OpenDevice("/dev/cdrom");
+  OpenDevice(wxT("/dev/cdrom"));
 }
 
 wxCDAudioLinux::wxCDAudioLinux(const wxString& dev_name)
@@ -216,3 +218,5 @@ wxCDAudio::CDtoc& wxCDAudioLinux::GetToc()
 {
   return *m_toc;
 }
+
+#endif