]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wave.cpp
Fix for mingw32 compilation (replaced #ifdef NM_CUSTOMDRAW with a test for _WIN32_IE
[wxWidgets.git] / src / msw / wave.cpp
index 699b92ebee6c15989b160643600c4c4dbf208014..8f2edf9af5267b985a06b7a3dbda32d4b7aa6aa5 100644 (file)
@@ -76,12 +76,12 @@ bool wxWave::Create(const wxString& fileName, bool isResource)
     HRSRC hresInfo;
 #if defined(__WIN32__) && !defined(__TWIN32__)
 #ifdef _UNICODE
-    hresInfo = ::FindResourceW((HMODULE) wxhInstance, fileName, T("WAVE"));
+    hresInfo = ::FindResourceW((HMODULE) wxhInstance, fileName, wxT("WAVE"));
 #else
-    hresInfo = ::FindResourceA((HMODULE) wxhInstance, fileName, T("WAVE"));
+    hresInfo = ::FindResourceA((HMODULE) wxhInstance, fileName, wxT("WAVE"));
 #endif
 #else
-    hresInfo = ::FindResource((HMODULE) wxhInstance, fileName, T("WAVE"));
+    hresInfo = ::FindResource((HMODULE) wxhInstance, fileName, wxT("WAVE"));
 #endif
     if (!hresInfo)
         return FALSE;