git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2459
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
CoordType xpos = 0; // cursorpos, lenght of line
CoordType from, to, tempto;
CoordType xpos = 0; // cursorpos, lenght of line
CoordType from, to, tempto;
- llist->ApplyStyle(&((wxLayoutLine *)this)->m_StyleInfo, dc);
+ //FIXME This doesn't work yet, needs updating afterr default
+ //settings for list or a wxLayoutObjectCmd have changed:
+ //llist->ApplyStyle(&((wxLayoutLine *)this)->m_StyleInfo, dc);
int highlight = llist->IsSelected(this, &from, &to);
// WXLO_DEBUG(("highlight=%d", highlight ));
if(highlight == 1) // we need to draw the whole line inverted!
int highlight = llist->IsSelected(this, &from, &to);
// WXLO_DEBUG(("highlight=%d", highlight ));
if(highlight == 1) // we need to draw the whole line inverted!
if(cursorSize) *cursorSize = wxPoint(0,0);
}
if(cursorSize) *cursorSize = wxPoint(0,0);
}
- llist->ApplyStyle(&m_StyleInfo, dc);
+ //FIXME This doesn't work yet, needs updating afterr default
+ //settings for list or a wxLayoutObjectCmd have changed:
+ //llist->ApplyStyle(&m_StyleInfo, dc);
for(i = m_ObjectList.begin(); i != NULLIT; i++)
{
(**i).Layout(dc, llist);
for(i = m_ObjectList.begin(); i != NULLIT; i++)
{
(**i).Layout(dc, llist);
// first, make sure everything is calculated - this might not be
// needed, optimise it later
// first, make sure everything is calculated - this might not be
// needed, optimise it later
- //FIXME This doesn't work yet, needs updating afterr default
- //settings for list or a wxLayoutObjectCmd have changed:
- // ApplyStyle(&m_DefaultSetting, dc);
+ ApplyStyle(&m_DefaultSetting, dc);
while(line)
{
if(forceAll || line->IsDirty())
while(line)
{
if(forceAll || line->IsDirty())