Malcolm Nealon wrote: > > 2) bool IsVisible() const { return (((a2dTemplateFlag)(m_flags & > a2dREFTEMPLATE_VISIBLE) == (a2dTemplateFlag) a2dREFTEMPLATE_VISIBLE)); } > produces > Error E2015 C:\wxWidgets-2.8.7\include\wx/docview.h 293: Ambiguity > between 'operator ==(long,const wxLongLongNative &)' and '==' in > function wxDocTemplate::IsVisible() const
> > It looks as though option 2 effectively operates correctly, so I would > suggest going with option 2, but that still leaves the error from > wxWidgets wxDocTemplate::IsVisible() ?? Now I see, wwwwwwxxxxxxDocTemplate, and not a2dDocTemplate :-( Try this at docviewref.cpp:66 //#include "wx/docview.h" It looks like i got rid of it. Klaas -- Unclassified ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev