Compare file paths using wxFileName, not wxString, in the sample.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 29 Oct 2012 18:30:14 +0000 (18:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 29 Oct 2012 18:30:14 +0000 (18:30 +0000)
commita7156681007c718be299389f68326b1c71486878
tree4be409a10b9ac1addb81cc7e51d8d033d88326cb
parente3f084fd47bf7d30722b357724e0c7701a7994f0
Compare file paths using wxFileName, not wxString, in the sample.

Comparing paths using wxString is a bad idea as identical paths can be seen as
mismatching because of case-only differences.

Also, don't reset wxRadioBox selection from its selection handler, this
doesn't work under e.g. wxGTK and is a bad example.

Closes #14791.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/widgets/dirctrl.cpp