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.
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to