Ticket #14791 (closed defect: fixed)
Case sensitivity problem in wxGenericDirCtrl sample
| Reported by: | troelsk | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | samples | Version: | 2.9-svn |
| Keywords: | wxGenericDirCtrl | Cc: | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
The dirctrl page in the widgets sample unexpectedly emits "Selected standard path and path from control do not match!" when you click one of the radio buttons. It seems that IsSameAs() treats backslash as escape. I know no good fix for this. But, in the sample, this workaround helps
if(!m_dirCtrl->GetPath().IsSameAs(path))
->
if(0 != _tcsicmp(m_dirCtrl->GetPath(), path))
Latest svn trunk, wxMSW, Unicode Debug DLL build, Win7
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

