]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/ide/activegrid/util/__init__.py
Add code to remove the selection (if any) in wxTextCtrl::WriteText for multi-line...
[wxWidgets.git] / wxPython / samples / ide / activegrid / util / __init__.py
index 4cda367b3ce77bd07f312bafd5ffeca2d58010c0..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,29 +0,0 @@
-#----------------------------------------------------------------------------
-# Name:         __init__.py
-# Purpose:      Utilities
-#
-# Author:       Joel Hare
-#
-# Created:      7/28/04
-# CVS-ID:       $Id$
-# Copyright:    (c) 2004-2005 ActiveGrid, Inc.
-# License:      wxWindows License
-#----------------------------------------------------------------------------
-
-import traceback
-import sys
-import os
-
-def _registerMainModuleDir():
-    global mainModuleDir
-    if sys.executable.find('python') != -1:
-        utilModuleDir = os.path.dirname(__file__)
-        if not os.path.isabs(utilModuleDir):
-            utilModuleDir = os.path.join(os.getcwd(), utilModuleDir)
-        mainModuleDir = os.path.normpath(os.path.join(utilModuleDir, os.path.join(os.path.pardir, os.path.pardir)))
-        if mainModuleDir.endswith('.zip'):
-            mainModuleDir = os.path.dirname(mainModuleDir) # Get rid of library.zip
-    else:
-        mainModuleDir = os.path.dirname(sys.executable)
-
-_registerMainModuleDir()