]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wave.cpp
fixes for icon-inherits-from-bitmap mode
[wxWidgets.git] / src / msw / wave.cpp
index 19b164f5a0e0bb773f9d2498c2a6c35ecae501ea..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;