]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dlmsw.cpp
fix keyboard navigation in radio boxes containing hidden or disabled items
[wxWidgets.git] / src / msw / dlmsw.cpp
index 22f7e40478c61ba948f63049a070f59659baf376..e517bcc3657352bd2db6fd066217d0b7d33a3068 100644 (file)
@@ -194,7 +194,7 @@ wxString wxVersionDLL::GetFileVersion(const wxString& filename) const
     wxString ver;
     if ( m_dll.IsLoaded() )
     {
-        wxChar *pc = wx_const_cast(wxChar *, filename.wx_str());
+        wxChar *pc = wx_const_cast(wxChar *, (const wxChar*) filename.t_str());
 
         DWORD dummy;
         DWORD sizeVerInfo = m_pfnGetFileVersionInfoSize(pc, &dummy);
@@ -281,7 +281,7 @@ wxDllType wxDynamicLibrary::GetProgramHandle()
 wxDllType
 wxDynamicLibrary::RawLoad(const wxString& libname, int WXUNUSED(flags))
 {
-    return ::LoadLibrary(libname.wx_str());
+    return ::LoadLibrary(libname.t_str());
 }
 
 /* static */