wx 2.9.5 and 2.9.4 diff for wx.lib.ogl?

Hi Robin,

I am working with PythonReports and when I run it with 2.9.4 I can resize wx.lib.ogl._canvas.ShapeCanvas based stuff but when I switch to 2.9.5 that doesn't work any more.

Any idea what might have changed which could affect this?

Werner

Hi,

···

On 27/12/2012 19:43, Werner wrote:

Hi Robin,

I am working with PythonReports and when I run it with 2.9.4 I can resize wx.lib.ogl._canvas.ShapeCanvas based stuff but when I switch to 2.9.5 that doesn't work any more.

Any idea what might have changed which could affect this?

Just did a compare of ogl in both versions they have not changed.

If I understand the code correctly it uses wx.lib.resizewidget to do this and there is a know problem with that - so looking forward to 2.9.5:), and in the mean time I keep using 2.9.4 for PythonReports.

Werner

That particular fix is here if you wanted to give it a try with your current 2.9.5 install: wxTrac has been migrated to GitHub Issues - wxWidgets

···

On 12/27/12 11:09 AM, Werner wrote:

Hi,

On 27/12/2012 19:43, Werner wrote:

Hi Robin,

I am working with PythonReports and when I run it with 2.9.4 I can
resize wx.lib.ogl._canvas.ShapeCanvas based stuff but when I switch to
2.9.5 that doesn't work any more.

Any idea what might have changed which could affect this?

Just did a compare of ogl in both versions they have not changed.

If I understand the code correctly it uses wx.lib.resizewidget to do
this and there is a know problem with that - so looking forward to
2.9.5:), and in the mean time I keep using 2.9.4 for PythonReports.

--
Robin Dunn
Software Craftsman

Better with this but not quit right yet.
In the demo I see some of the “handle” left over as in the picture
below (on Win 7 and Python 2.7.2).
In PythonReport the “wx.Panel” containing as only widget (without a
sizer), the ResizeWidget is not resizing as it does with 2.9.4, i.e.
if I make the ResizeWidget larger then it is fine, but if I then
make it smaller it does not shrink.
Werner

fajbicej.png

···

On 27/12/2012 22:34, Robin Dunn wrote:

  On

12/27/12 11:09 AM, Werner wrote:

    Hi,




    On 27/12/2012 19:43, Werner wrote:
      Hi Robin,




      I am working with PythonReports and when I run it with 2.9.4 I

can

      resize wx.lib.ogl._canvas.ShapeCanvas based stuff but when I

switch to

      2.9.5 that doesn't work any more.




      Any idea what might have changed which could affect this?
    Just did a compare of ogl in both versions they have not

changed.

    If I understand the code correctly it uses wx.lib.resizewidget

to do

    this and there is a know problem with that - so looking forward

to

    2.9.5:), and in the mean time I keep using 2.9.4 for

PythonReports.

  That particular fix is here if you wanted to give it a try with

your current 2.9.5 install:

http://trac.wxwidgets.org/changeset/73220/wxPython/trunk

The “not shrinking” issue is related to PyCollapsiblePane, in 2.9.4
it shrinks when hiding the pane.
Werner

···

On 28/12/2012 02:58, Werner wrote:

  Better with this but not quit right yet.

In the demo I see some of the “handle” left over as in the picture
below (on Win 7 and Python 2.7.2).
In PythonReport the “wx.Panel” containing as only widget (without
a sizer), the ResizeWidget is not resizing as it does with 2.9.4,
i.e. if I make the ResizeWidget larger then it is fine, but if I
then make it smaller it does not shrink.

    On 27/12/2012 22:34, Robin Dunn

wrote:

    On

12/27/12 11:09 AM, Werner wrote:

Hi,

      On 27/12/2012 19:43, Werner wrote:

Hi Robin,

        I am working with PythonReports and when I run it with 2.9.4

I can

        resize wx.lib.ogl._canvas.ShapeCanvas based stuff but when I

switch to

        2.9.5 that doesn't work any more.



        Any idea what might have changed which could affect this?
      Just did a compare of ogl in both versions they have not

changed.

      If I understand the code correctly it uses wx.lib.resizewidget

to do

      this and there is a know problem with that - so looking

forward to

      2.9.5:), and in the mean time I keep using 2.9.4 for

PythonReports.

    That particular fix is here if you wanted to give it a try with

your current 2.9.5 install:
http://trac.wxwidgets.org/changeset/73220/wxPython/trunk