Well I have a project done.
http://webpages.charter.net/mwagman
It's a puzzle/strategy/logic puzzle.
I use python, wxpython, pygame, and py2exe.
If you like that sort of game I think you will find it new and
enjoyable.
Also the first dozen people that email me and say.
I have answered a question on the wxpython list and would like a free
registration key, can have one. I owe the people on this list alot of
thanks in helping me get a handle on wxpython.
Thanks
Mike
I think SetSizeHints will not react when you have SetConstraints.
bing
------------------my code-----------------------------------------
class MainFrame(wx.wxFrame):
def __init__(self):
wx.wxFrame.__init__(self, None, wx.wxNewId(), 'Hello')
Panel1 = wx.wxPanel(self, -1)
c1 = wx.wxLayoutConstraints()
c1.left.SameAs(self, wx.wxLeft, 4)
c1.top.SameAs(self, wx.wxTop, 4)
c1.width.Absolute(50)
c1.height.Absolute(32)
Panel1.SetConstraints(c1)
Panel2 = wx.wxPanel(self, -1)
Panel2.SetSizeHints(200,-1)
c2 = wx.wxLayoutConstraints()
c2.left.SameAs(Panel1, wx.wxRight, 4)
c2.top.SameAs(Panel1, wx.wxTop)
c2.right.SameAs(self, wx.wxRight, 4)
c2.height.SameAs(Panel1, wx.wxHeight)
Panel2.SetConstraints(c2)
self.SetAutoLayout(True)