Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv28695/src/gui
Modified Files:
wxllist.cpp
Log Message:
fixed bug in assignment operator of wxLayoutStyleInfo which led to not using
colours/fonts when they were set only once
Index: wxllist.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxllist.cpp,v
retrieving revision 1.149
retrieving revision 1.150
diff -b -u -2 -r1.149 -r1.150
--- wxllist.cpp 19 Oct 2002 17:40:39 -0000 1.149
+++ wxllist.cpp 30 Oct 2002 12:07:45 -0000 1.150
@@ -552,8 +552,15 @@
COPY_SI_(enc);
- if(other.m_fg_valid)
+ if ( other.m_fg_valid )
+ {
+ m_fg_valid = true;
m_fg = other.m_fg;
- if(other.m_bg_valid)
+ }
+
+ if ( other.m_bg_valid )
+ {
+ m_bg_valid = true;
m_bg = other.m_bg;
+ }
return *this;
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates