]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wx/tools/XRCed/globals.py
Use unbuffered output
[wxWidgets.git] / wxPython / wx / tools / XRCed / globals.py
CommitLineData
d14a1e28
RD
1# Name: globals.py
2# Purpose: XRC editor, global variables
3# Author: Roman Rolinsky <rolinsky@mema.ucl.ac.be>
4# Created: 02.12.2002
5# RCS-ID: $Id$
1fded56b 6
d14a1e28
RD
7from wxPython.wx import *
8from wxPython.xrc import *
9import sys
1fded56b 10
d14a1e28
RD
11# Global constants
12
13sysFont = wxSystemSettings_GetFont(wxSYS_SYSTEM_FONT)
14labelFont = wxFont(sysFont.GetPointSize(), wxDEFAULT, wxNORMAL, wxBOLD)
15modernFont = wxFont(sysFont.GetPointSize(), wxMODERN, wxNORMAL, wxNORMAL)
16smallerFont = wxFont(sysFont.GetPointSize()-2, wxDEFAULT, wxNORMAL, wxNORMAL)
17
18progname = 'XRCed'
a4c013b2 19version = '0.1.2-1'
d14a1e28
RD
20
21try:
22 True
23except NameError:
24 True = 1==1
25 False = 1==0
26
27# Global variables
28
29class Globals:
30 panel = None
31 tree = None
32 frame = None
33 tools = None
34 undoMan = None
35 testWin = None
36 testWinPos = wxDefaultPosition
37 currentXXX = None
38 currentEncoding = sys.getdefaultencoding() # wxLocale_GetSystemEncodingName()
39
40g = Globals()