Using the following code, I can't get my dialog to resize. from wxPython.wx import *
class MyApp(wxApp):
def OnInit(self):
frame = wxFrame(NULL, -1, "testing")
frame.Show(true)
pre = wxPreDialog()
pre.SetExtraStyle(wxRESIZE_BORDER)
pre.Create(frame, -1, "testing",size=(450,300))
pre.ShowModal()
pre.Destroy()
frame.Close()
frame.Destroy()
return true
myapp = MyApp(0)
myapp.MainLoop()
Any help would be appreciated.
Thanks
Ryan