Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Problem compiling r4596
Problem compiling r4596 [message #35447] |
Thu, 16 February 2012 18:43  |
frankdeprins
Messages: 99 Registered: September 2008 Location: Antwerp - Belgium
|
Member |
|
|
Hello,
There is a compilation problem in the GridCtrl; something about XMLize and it showed up somewhere between r4577 (which I used previously) and 4596 (which I use now).
I am using Visual C++ express 2010 and MinGW 4.6.1; both on Windows Vista 32 bit. And both have the same problem.
Best regards
frank
|
|
|
Re: Problem compiling r4596 [message #35454 is a reply to message #35447] |
Sat, 18 February 2012 16:04   |
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)
}
|
|
|
|
Re: Problem compiling r4596 [message #35461 is a reply to message #35460] |
Mon, 20 February 2012 10:21   |
|
koldo wrote on Mon, 20 February 2012 04:11 | Hello Daniel/Mirek
Please enter the fix ASAP in GridCtrl.h and GridCtrl.cpp.
|
Thanks, I'll commit appropriate change tonight. (Recently I'm not using the newest sources and that's why I'm not reacting )
|
|
|
|
|
|
|
Goto Forum:
Current Time: Tue Apr 29 08:36:55 CEST 2025
Total time taken to generate the page: 0.03241 seconds
|