diff --git a/wxPython/wxPython/tools/XRCed/globals.py b/wxPython/wxPython/tools/XRCed/globals.py new file mode 100644 index 0000000000..5f59ef4366 --- /dev/null +++ b/wxPython/wxPython/tools/XRCed/globals.py @@ -0,0 +1,32 @@ +# Name: globals.py +# Purpose: XRC editor, global variables +# Author: Roman Rolinsky +# Created: 02.12.2002 +# RCS-ID: $Id$ + +from wxPython.wx import * + +# Global constants + +if wxPlatform == '__WXGTK__': + labelFont = wxFont(12, wxDEFAULT, wxNORMAL, wxBOLD) + modernFont = wxFont(12, wxMODERN, wxNORMAL, wxNORMAL) +else: + labelFont = wxFont(10, wxDEFAULT, wxNORMAL, wxBOLD) + modernFont = wxFont(10, wxMODERN, wxNORMAL, wxNORMAL) + +progname = 'XRCed' +version = '0.0.9-1' + +# Global variables + +class Globals: + panel = None + tree = None + frame = None + undoMan = None + testWin = None + testWinPos = wxDefaultPosition + currentXXX = None + +g = Globals()