Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Problem compiling r4596
Re: Problem compiling r4596 [message #35454 is a reply to message #35447] Sat, 18 February 2012 16:04 Go to previous messageGo to previous message
kasome is currently offline  kasome
Messages: 78
Registered: July 2008
Location: Taiwan
Member
Because of

r4588 --- Core: Xmlize: Changed to reference XmlIO& parameter.

Just modify (the red part)

In GridCtrl.h
template<> void Xmlize(XmlIO& xml, GridCtrl& g);

In GridCtrl.cpp
template<> void Xmlize(XmlIO& xml, GridCtrl& g) {
Vector<Vector<Value> > v;

if(xml.IsLoading()) {
xml("data", v);
g.SetValues(v);
} else {
v = g.GetValues();
xml("data", v);
}
}

the problem should be solved.

By the way, in Bazaar\Styler\Styler.h and Bazaar\Styler\Styler.cpp, should modify as
template<> void Xmlize(XmlIO& xml, PerChStyle& o);

template<> void Xmlize(XmlIO& xml, PerChStyle& o)
{
Color c;

XMLIZECOL("face", SColorFace)
XMLIZECOL("shadow", SColorShadow)
XMLIZECOL("ltface", SColorLtFace)
XMLIZECOL("dkshadow", SColorDkShadow)
XMLIZECOL("highlight", SColorHighlight)
XMLIZECOL("disabled", SColorDisabled)
XMLIZECOL("paper", SColorPaper)
XMLIZECOL("text", SColorText)
XMLIZECOL("highlighttext", SColorHighlightText)
XMLIZECOL("light", SColorLight)

XMLIZECOL("menu", SColorMenu)
XMLIZECOL("menutext", SColorMenuText)
XMLIZECOL("menumark", SColorMenuMark)
XMLIZECOL("info", SColorInfo)
XMLIZECOL("infotext", SColorInfoText)
XMLIZECOL("mark", SColorMark)
XMLIZECOL("label", SColorLabel)
XMLIZECOL("labelboxtext", LabelBoxTextColor)
XMLIZECOL("labelbox", LabelBoxColor)
}
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Solved] EditField crashing at runtime uisng PortableUpp 4424
Next Topic: RegisterSystemHotKey() only inside a program
Goto Forum:
  


Current Time: Fri May 10 11:39:03 CEST 2024

Total time taken to generate the page: 0.01524 seconds