2.6.2 Test Builds -- odd Maximize() behavior

Based on previous posts to the list, I gather that these are the most current test builds for 2.6.2, unless I'm mistaken:
http://kevino.theolliviers.com/wxpython/

(specifically I was trying: http://kevino.theolliviers.com/wxpython/wxPython2.6-win32-ansi-2.6.2.0pre-py24.exe )

I noticed an odd issue with calling wxFrame.Maximize() when the window isn't already maximized.

Under 2.6.1, calling Maximize(False) wouldn't resize the window. Under 2.6.2, the window becomes as large as if it were maximized.

Here's a brief app that demonstrates the issue:
import wx
app = wx.PySimpleApp()
frame = wx.Frame(None, -1, "Hello World", size = (100, 100))
frame.Maximize(False)
frame.Show(1)
app.MainLoop()

(Under 2.6.1, the size will be 100x100, under 2.6.2-pre, it will appear much larger)

Tim Tucker
tim@timtucker.com

Yes, I can duplicate this.

Also in the last builds from Robin (2.6.1.1pre),
the behaviour was as in 2.6.0.

WinXp

ยทยทยท

On Sat, 22 Oct 2005 13:23:17 -0500, "Timothy J. Tucker" <tim@timtucker.com> wrote:

Based on previous posts to the list, I gather that these are the most
current test builds for 2.6.2, unless I'm mistaken:
http://kevino.theolliviers.com/wxpython/

(specifically I was trying:
http://kevino.theolliviers.com/wxpython/wxPython2.6-win32-ansi-2.6.2.0pre-py24.exe
)

I noticed an odd issue with calling wxFrame.Maximize() when the window
isn't already maximized.

Under 2.6.1, calling Maximize(False) wouldn't resize the window. Under
2.6.2, the window becomes as large as if it were maximized.

Here's a brief app that demonstrates the issue:
import wx
app = wx.PySimpleApp()
frame = wx.Frame(None, -1, "Hello World", size = (100, 100))
frame.Maximize(False)
frame.Show(1)
app.MainLoop()

(Under 2.6.1, the size will be 100x100, under 2.6.2-pre, it will appear
much larger)

Tim Tucker
tim@timtucker.com

--
Franz Steinhaeusler