# Shaped frames (even the example) cause warning window

**URL:** <https://www.ruby-forum.com/t/shaped-frames-even-the-example-cause-warning-window/180473>\
**Category:** wxRuby\
**Created:** [December 19, 2009, 3:42pm UTC](https://www.ruby-forum.com/t/shaped-frames-even-the-example-cause-warning-window/180473 "2009-12-19T15:42:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![quintus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/49beb7/32.png) [@quintus](https://www.ruby-forum.com/u/quintus)\
**Post date:** [December 19, 2009, 3:42pm UTC](https://www.ruby-forum.com/t/shaped-frames-even-the-example-cause-warning-window/180473/1 "2009-12-19T15:42:16Z")

</div>

Hi,

I just found that the “ShapedWindow.rbw” example (from bigdemo) causes a  
Warning Dialog window to appear when you click the display button,  
saying: “Ignoring attempt to set cHRM RGB triangle with zero area”.  
After some experimenting with shaped frames I cannot make this window  
not to pop up - this is very annoying, since I don’t want to click it  
away every time my application is run. Is there any way to get round it,  
or at least to suppress that?

ruby -v: ruby 1.9.1p376 (2009-12-07 revision 26041) [i686-linux]

Marvin
