Global variables collected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
32
wxPython/wxPython/tools/XRCed/globals.py
Normal file
32
wxPython/wxPython/tools/XRCed/globals.py
Normal file
@@ -0,0 +1,32 @@
|
||||
# Name: globals.py
|
||||
# Purpose: XRC editor, global variables
|
||||
# Author: Roman Rolinsky <rolinsky@mema.ucl.ac.be>
|
||||
# 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()
|
Reference in New Issue
Block a user