+ {
+ wxRegKey explorerKey(wxRegKey::HKCU, wxT("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FileExts\\") + m_ext);
+ if (explorerKey.Exists())
+ {
+ if (explorerKey.Open(wxRegKey::Read))
+ {
+ if (explorerKey.QueryValue(wxT("Progid"), strKey))
+ {
+ strKey = wxFileTypeImplGetCurVer(strKey);
+ }
+ }
+ }
+ }
+
+ if (!strKey && wxRegKey(wxRegKey::HKCR, m_ext + wxT("\\shell")).Exists())