From: Werner S. <sm...@ia...> - 2007-03-03 09:37:28
|
Hi Orion, I will have a look into this as soon as possible. I actually tested it with wxGTK 2.8 but maybe not thoroughly enough. It seems that a constructor is missing in wxGTK 2.8 which is available in wxGTK 2.6. wxWidgets changes the API often, it's sometimes hard to follow :) thanks for the bug report. Werner Orion Poplawski wrote: > Okay, Fedora development has wxGTK 2.8 which causes breakages: > > /builddir/build/BUILD/plplot-5.7.2/bindings/wxwidgets/wxPLplotstream.cpp: > In member function 'void wxPLplotstream::RenewPlot()': > /builddir/build/BUILD/plplot-5.7.2/bindings/wxwidgets/wxPLplotstream.cpp:116: > error: invalid conversion from 'wxImage*' to 'int' > /builddir/build/BUILD/plplot-5.7.2/bindings/wxwidgets/wxPLplotstream.cpp:116: > error: initializing argument 1 of 'wxBitmap::wxBitmap(int, int, int)' > /builddir/build/BUILD/plplot-5.7.2/bindings/wxwidgets/wxPLplotstream.cpp:116: > error: no matching function for call to 'wxMemoryDC::SelectObject(wxBitmap)' > /usr/include/wx-2.8/wx/dcmemory.h:30: note: candidates are: void > wxMemoryDCBase::SelectObject(wxBitmap&) > /builddir/build/BUILD/plplot-5.7.2/bindings/wxwidgets/wxPLplotstream.cpp: > In member function 'void wxPLplotstream::Update()': > /builddir/build/BUILD/plplot-5.7.2/bindings/wxwidgets/wxPLplotstream.cpp:132: > error: invalid conversion from 'wxImage*' to 'int' > /builddir/build/BUILD/plplot-5.7.2/bindings/wxwidgets/wxPLplotstream.cpp:132: > error: initializing argument 1 of 'wxBitmap::wxBitmap(int, int, int)' > /builddir/build/BUILD/plplot-5.7.2/bindings/wxwidgets/wxPLplotstream.cpp:132: > error: no matching function for call to 'wxMemoryDC::SelectObject(wxBitmap)' > /usr/include/wx-2.8/wx/dcmemory.h:30: note: candidates are: void > wxMemoryDCBase::SelectObject(wxBitmap&) > > May be others, but the build died here. Any help in addressing this > would be greatly appreciated. > > |