Ticket #12302 (closed defect: fixed)
Respect "UserChoice" registry key in wxFileType::GetOpenCommand()
| Reported by: | botg | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | wxMSW | Version: | 2.9-svn |
| Keywords: | registry association mimetype simple | Cc: | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
Changes made to file associations in Windows 7 through Explorer are not reflected by wxFileType::GetOpenCommand.
wx looks for the Progid value in HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\<ext>\ whereas Windows 7 stores the association in HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\<ext>\UserChoice
With the attached patch, the secon key is searched as well when getting the open command.
I have attached patches for both 2.8 as well as trunk.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

