]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/mmedia/mmboard.cpp
1. corrected HAVE_PW_GECOS detection in configure (which never worked)
[wxWidgets.git] / contrib / samples / mmedia / mmboard.cpp
index 61f3777975f9c40507851d20bde04f9940d1dacc..3988eef95b41e7ea9dbd787eff49a7d734c73e0c 100644 (file)
@@ -219,7 +219,7 @@ wxUint8 MMBoardApp::TestMultimediaCaps()
     // We test the Windows sound support.
 
     dev = new wxSoundStreamWin();
-    if (dev->GetError() == wxSOUND_NOERR)
+    if (dev->GetError() == wxSOUND_NOERROR)
         caps |= MM_SOUND_WIN;
     delete dev;
 #endif