disallow smoothing mode if its not supported
svn: r9750
This commit is contained in:
parent
1db7e0604b
commit
44303d2409
|
@ -3831,12 +3831,14 @@ Bool wxWindowDC::SetCairoBrush()
|
||||||
|
|
||||||
void wxWindowDC::SetAntiAlias(int v)
|
void wxWindowDC::SetAntiAlias(int v)
|
||||||
{
|
{
|
||||||
|
#ifdef WX_USE_CAIRO
|
||||||
if (v != anti_alias) {
|
if (v != anti_alias) {
|
||||||
/* In case we go from aligned to not: */
|
/* In case we go from aligned to not: */
|
||||||
X->reset_cairo_clip = 1;
|
X->reset_cairo_clip = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxDC::SetAntiAlias(v);
|
wxDC::SetAntiAlias(v);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxWindowDC::SetAlpha(double d)
|
void wxWindowDC::SetAlpha(double d)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user