[ wxwindows-Bugs-1540735 ] Mac Shaped Frame Ignores Window Size

SourceForge.net noreply at sourceforge.net
Tue Aug 15 09:30:25 PDT 2006


Bugs item #1540735, was opened at 2006-08-15 10:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1540735&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMac specific
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bryan Petty (bpetty)
Assigned to: Stefan Csomor (csomor)
Summary: Mac Shaped Frame Ignores Window Size

Initial Comment:
On MSW and GTK, using a shaped wxFrame never shows the
shape bigger than the frame's size (set from
SetSize()). Mac currently does not respect the frame's
size, and will show the full size of the shape.

Attached minor patch to the shaped sample illustrates
the window size being set to a quarter of the size of
the bitmap which will only show the top-left corner of
the shape on MSW and GTK, but will still show the
entire shape on Mac.

This causes problems for wxAUI where a shaped frame is
used as one of the fallback methods of drawing hint
windows with psuedo transparency. Without a fix for
this, the shape would have to be regenerated with every
size change rather than size changes bigger than the
current shape currently keeping performance at a
reasonable level.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1540735&group_id=9863




More information about the wx-dev mailing list