[wxPython-dev] SoC Unit Test Status

Frank Tobia frank.tobia at gmail.com
Thu Jul 12 11:14:09 PDT 2007


Robin,

On 7/11/07, Robin Dunn <robin at alldunn.com> wrote:

>
> >
> > As for the virtual size failures, I suspect the issue is that
> > SetVirtualSize doesn't allow the virtual size to go below the control's
> > current size? Is that correct?
>
> It is limited based on what the virtual size hints are currently set to.
>   Here is the common (platform independent) base class version:


I'm still curious about this, and having problems.  SetVirtualSize doesn't
look like it's using those hints as minima (on Windows).
For example:
a.SetVirtualSizeHints(1,1)
a.SetVirtualSize((2,2))
a.GetVirtualSize() # does not return 'wx.Size(2,2)'

Am I missing something?  Should setting the VirtualSizeHints give me control
over what range of VirtualSize is possible?

Also, there's no corresponding "GetVirtualSizeHints", which may be useful
for tests like these.

-Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-dev/attachments/20070712=
/386c7df3/attachment.htm


More information about the wxpython-dev mailing list