wxPDFView icon indicating copy to clipboard operation
wxPDFView copied to clipboard

Please update the readme for newer versions of PDFium as follows

Open Ben136KBC opened this issue 10 months ago • 0 comments

The readme says you need the pdfium binaries version 4012 or later. wxPDFView works fine with the latest versions such as v125.0.6406.0. However if so, then in PDFViewImpl.cpp, comment out this line:

#include "fpdf_libs.h"

(It looks like they removed this header file and the need for it years ago).

And this line:

FPDF_InitEmbeddedLibraries(resPathStr.c_str());

And it will work fine, including with wxWidgets library version 3.2.1. Perhaps in PDFViewImpl.cpp above these two lines you can add a comment to say that for newer PDFium versions you can just comment them out. Please? And thank you for this great component!

Ben136KBC avatar Apr 08 '24 20:04 Ben136KBC