擅长:python、mysql、java
<p>我相信您需要先将文件路径转换为URL(即<code>file://path/to/file.html</code>),您可以使用<code>wxFileSystem::FileNameToURL()</code>函数来实现这一点。在</p>
<p>见<a href="https://docs.wxwidgets.org/3.0/classwx_file_system.html#a616610cafdb14b841940d5e6b08a9615" rel="nofollow noreferrer">https://docs.wxwidgets.org/3.0/classwx_file_system.html#a616610cafdb14b841940d5e6b08a9615</a></p>