daboide Commit
Revision 253
Date: 2005-11-29 17:16:44 -0800 (Tue, 29 Nov 2005)
Author: paul
Changed:
U trunk/wizards/AppWizard/spec-main.py
Log:
Re-added the MDI setting code to the generated main file from AppWizard. MDI
will be set to True on Windows.
Diff:
Modified: trunk/wizards/AppWizard/spec-main.py
===================================================================
--- trunk/wizards/AppWizard/spec-main.py 2005-11-29 19:02:05 UTC (rev
252)
+++ trunk/wizards/AppWizard/spec-main.py 2005-11-30 01:16:44 UTC (rev
253)
@@ -1,6 +1,11 @@
#!/usr/bin/env python
+
+import sys
import dabo
+if sys.platform[:3] == "win":
+ dabo.settings.MDI = True
+
dabo.ui.loadUI("wx")
from App import App
import db
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev