]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/helphtml.cpp
AddBook ignores wxMac paths (still won't work)
[wxWidgets.git] / src / generic / helphtml.cpp
index 2005af7c14775efb8196e8092f699ea363d2c820..1f3f59250fb1044c8e903367600b2f9425a8ba85 100644 (file)
@@ -166,7 +166,7 @@ wxHTMLHelpControllerBase::LoadFile(const wxString& ifile)
    m_MapList = new wxList;
    m_NumOfEntries = 0;
 
-   FILE *input = wxFopen(mapFile.fn_str(),wxT("rt"));
+   FILE *input = wxFopen(mapFile,wxT("rt"));
    if(! input)
       return FALSE;
    do