]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/samples/ide/activegrid/util/lang.py
   1 #---------------------------------------------------------------------------- 
   3 # Purpose:      Active grid language specific utilities -- provides portability 
   4 #               for common idiom's that have language specific implementations 
  10 # Copyright:    (c) 2004-2005 ActiveGrid, Inc. 
  11 # License:      wxWindows License 
  12 #---------------------------------------------------------------------------- 
  15     return caller 
== '__main__' 
  17 def ag_className(obj
): 
  18     return obj
.__class
__.__name
__ 
  53 # Pass in Python code as a string.  The cross-compiler will convert to PHP  
  54 # and in-line the result. 
  58 # Pass in PHP code as a string.  The cross-compiler will drop it in-line verbatim. 
  62 # Bracket Python only code.  The Cross-compiler will ignore the bracketed code. 
  63 def ifDefPy(comment
=False):