[wxMac?] Zoom Size
Ryan Wilcox
ryanwilcox at mac.com
Sun Mar 4 08:12:25 PST 2007
Hello all,
My wxMac application needs a way to specify the size the (top level) window should zoom to. On the Mac a top level window has two zoom states: the most recent size the user selected, and the size the application "suggests" for that window (the window's ideal size).
Right now zooming a (top level) window on wxMac means the window takes up the entire screen - absolutely not what my application wants (nor should that be the desired size for any other rightly written Mac application). See the HIG notes on this at <http://tinyurl.com/cpf5v>
I have a patch in progress to add this functionality to wxWidgets, but I have a question on how to retrieve the suggested size from the top level window subclass: should I create a method like GetSize()/GetClientSize(), or create a wxZOOM_SIZE event?
Getting this patch accepted is important to me (and I should think important for any wxMac applications), so I'll do anything I can to facilitate the acceptance of this patch.
Thanks you for your feedback,
_Ryan Wilcox
--
Wilcox Development Solutions: <http://www.wilcoxd.com>
Toolsmiths for the Internet Age PGP: 0x2F4E9C31
More information about the wx-dev
mailing list