Correct lookup of Explorer-specific file association information.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Dec 2012 23:50:33 +0000 (23:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Dec 2012 23:50:33 +0000 (23:50 +0000)
commit5edaa5ebb0b01f063a9df87236e8365d7c3886f4
tree977eadbdbd87a4e6f3c5e8e1209b769bd4ec7cf7
parente9f012bc4ccc749a366f313dd0a30f537d844960
Correct lookup of Explorer-specific file association information.

The code added in r52154 never worked because it was looking for the Progid
value in a wrong place, look for it under UserChoice subkey where it really
is.

Also add a way to look up the command to open files with the given extension
to the exec sample.

Closes #12302.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/exec/exec.cpp
src/msw/mimetype.cpp