parameters: (win, point_or_x, y=None)
docstring: Convenience function for converting a Point or (x,y) in
      dialog units to pixel units.
docstring_summary: Convenience function for converting a Point or (x,y) in
      dialog units to pixel units.
docstring_tokens: Convenience function for converting a Point or ( x y ) in dialog units to pixel units .
function: def DLG_PNT(win, point_or_x, y=None):
      """
      Convenience function for converting a Point or (x,y) in
      dialog units to pixel units.
      """
      if y is None:
          return win.ConvertDialogPointToPixels(point_or_x)
      else:
          return win.ConvertDialogPointToPixels(wx.Point(point_or_x, y))
function_tokens: def DLG_PNT ( win , point_or_x , y = None ) : if y is None : return win . ConvertDialogPointToPixels ( point_or_x ) else : return win . ConvertDialogPointToPixels ( wx . Point ( point_or_x , y ) )