From: Arthur N. <ac...@ca...> - 2011-10-19 10:37:17
|
I have put a *PATCHED* set of wxWidgets sources in trunk/csl/support-patches and so feel I should record what I have done and why. The changes are to provide what I hope is a nicer interface for registering application specific fonts, and to make those available with wxGraphicsContext under Windows. This does not apply to the default built of CSL-reduce - just to what happens if you go ./configure --with-csl --with-wx to get my experimental unfinished development version. I have tried submitting my changes to wxWidgets so I hope that at some stage they will adopt them or provide their own better solution. Now compiling wxWidgets takes a reasonable age - especially on Windows using cygwin's i686-w64-mingw32-g++. Thus I try to avoid it getting compiled at all often since I hope and expect it to remain stable. But to get the new snapshot this is what you need to do cd ..../trunk rm -rf csl/wxWidgets ./configure --with-csl --with-wxWidgets The configure step will spot that the unpacked directory of wxWidgets sources is not in the csl directory so will find a .tar.bz2 file in csl/support-packages and unpack it and configure it. One thing to note is that the survive with my patch on a Windows machine you *MUST* arrange to have gdiplus headers where your C compiler can find them. The i686-w64-mingw32 set of headers at the time of sending this message seem not to so I needed to copy some in from elsewhere. If you do not pay attention to this then wxWidgets will configure without support for wxGraphicsContext and the stuff I am now developing will not even build. Arthur |