Re: [Plplot-devel] patch: fix memory leak in wxPLDevGC

2009-03-13 Thread Werner Smekal
Hi Vadim, > FWIW I used (after reading documentation and wiki) > > -DwxWidgets_LIB_DIR=$wxwin/lib/vc_dll -DwxWidgets_CONFIGURATION=mswud > -DwxWidgets_USE_UNICODE=ON -DDEFAULT_NO_BINDINGS=ON -DENABLE_cxx=ON > -DENABLE_wxwidgets=ON -DDEFAULT_NO_DEVICES=ON -DPLD_wxwidgets=ON > You should still ha

Re: [Plplot-devel] patch: fix memory leak in wxPLDevGC

2009-03-12 Thread Vadim Zeitlin
On Wed, 11 Mar 2009 16:22:01 +0100 Werner Smekal wrote: WS> thank you for the patches - I reviewed and applied them. Thanks! WS> I use Visual C++ 2008, wxMWS 2.8.9 (shared, debug or release, WS> USE_GDIPLUS=1 and #define wxUSE_GRAPHICS_CONTEXT 1 in setup.h) and the WS> latest PLplot versio

Re: [Plplot-devel] patch: fix memory leak in wxPLDevGC

2009-03-11 Thread Werner Smekal
Hi Vadim, thank you for the patches - I reviewed and applied them. It's also good timing since I already wanted to ask the wxWidgets list if I need to delete the wxGraphicsContext object on my own. I do have a question though about a problem with the wxGraphicsContext backend of the wxWidgets

[Plplot-devel] patch: fix memory leak in wxPLDevGC

2009-03-11 Thread Vadim Zeitlin
Hello again, Here is another tiny patch, this one to fix a memory leak: diff -r 7578c8ba1630 drivers/wxwidgets_gc.cpp --- a/drivers/wxwidgets_gc.cpp Wed Mar 11 14:37:03 2009 +0100 +++ b/drivers/wxwidgets_gc.cpp Wed Mar 11 14:40:59 2009 +0100 @@ -68,6 +68,8 @@ if( m_font ) delete m_fo