Some chicken-and-egg problems solved for wxPython on wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1998-08-27 21:59:51 +00:00
parent 052ae0e568
commit 0d6f9504ae
7 changed files with 79 additions and 41 deletions

View File

@@ -507,11 +507,6 @@ class MyApp(wxApp):
def main():
app = MyApp(0)
import wxPython.gdi
reload(wxPython.gdi)
print wxPython.gdi.wxBLUE
print wxPython.gdi.wxBLUE.this
app.MainLoop()
@@ -521,16 +516,21 @@ def t():
# for focused testing...
def t2():
def main2():
class T2App(wxApp):
def OnInit(self):
frame = TestLayoutConstraints(NULL)
frame.Show(true)
self.SetTopWindow(frame)
return true
app = T2App(0)
app.MainLoop()
def t2():
import pdb
pdb.run('main2()')
if __name__ == '__main__':
@@ -540,6 +540,9 @@ if __name__ == '__main__':
#----------------------------------------------------------------------------
#
# $Log$
# Revision 1.4 1998/08/27 21:59:51 RD
# Some chicken-and-egg problems solved for wxPython on wxGTK
#
# Revision 1.3 1998/08/27 00:01:17 RD
# - more tweaks
# - have discovered some problems but not yet discovered solutions...