Applied patch [ 605592 ] Unicode patch for dirctrlg.cpp
Markus Greither just compiled the wxWindows CVS trunk using BCC5.5.1 and UNICODE. I noticed a small bug in girctrlg.cpp, that prevented compilation. There are more such glitches in the wxGrid, but as I was running out of time, I disabled this for now. Otherwise, compilation worked fine and I was able to run the minimal sample (using UNICOWS on my WIN98SE). (I also corrected some wxGrid Unicode string typos -- JACS) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1001,7 +1001,7 @@ bool wxGenericDirCtrl::ExpandPath(const wxString& path)
|
||||
{
|
||||
wxDirItemData* data = (wxDirItemData*) m_treeCtrl->GetItemData(childId);
|
||||
|
||||
if (data && data->m_path != "" && !data->m_isDir)
|
||||
if (data && data->m_path != wxT("") && !data->m_isDir)
|
||||
{
|
||||
m_treeCtrl->SelectItem(childId);
|
||||
m_treeCtrl->EnsureVisible(childId);
|
||||
|
Reference in New Issue
Block a user