- WMGetTextDefaultColor() won't retain the returned color anymore, and you

shouldn't release it. It is just a reference to the internal WMText color.
  This should make all the functions returning colors from widgets behave
  consistently
This commit is contained in:
dan committed 2002-11-30 03:00:34 +00:00
1 parent bde9b8a21a
commit c0442b1c59
4 files changed
+4 -3

No files matched your search

-1
View File
@@ -1070,7 +1070,6 @@ WMSetWidgetBackgroundColor(WMWidget *w, WMColor *color)
WMColor*
WMGetWidgetBackgroundColor(WMWidget *w)
{
// should retain?
return W_VIEW(w)->backColor;
}