From: SourceForge.net <no...@so...> - 2009-08-28 23:09:02
|
Bugs item #2846582, was opened at 2009-08-28 16:09 Message generated for change (Tracker Item Submitted) made by cbrockman You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462816&aid=2846582&group_id=51305 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: Subversion TRUNK Status: Open Resolution: None Priority: 5 Private: No Submitted By: Charles Brockman (cbrockman) Assigned to: Nobody/Anonymous (nobody) Summary: [wxPlotCtrl] SetLogicalFunction Call Requires a Cast Initial Comment: I tried to compile the plotctrl project in Microsoft Visual C++ 2008 under Windows and received the following errors: ..\src\plotctrl.cpp(2518) : error C2664: 'wxDC::SetLogicalFunction' : cannot convert parameter 1 from 'int' to 'wxRasterOperationMode' Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) ..\src\plotctrl.cpp(2532) : error C2664: 'wxDC::SetLogicalFunction' : cannot convert parameter 1 from 'int' to 'wxRasterOperationMode' Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) To correct the errors I added static_cast<wxRasterOperationMode> as shown in the attached patch. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462816&aid=2846582&group_id=51305 |