X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e4a197e4c60e461b8068b0619692ea083e30b8b..71aba8333cc915afff9e740c944f7fa7247abacb:/wxPython/demo/wxImageFromStream.py diff --git a/wxPython/demo/wxImageFromStream.py b/wxPython/demo/wxImageFromStream.py index 6953a2ca4c..1bf4fc7645 100644 --- a/wxPython/demo/wxImageFromStream.py +++ b/wxPython/demo/wxImageFromStream.py @@ -35,3 +35,12 @@ overview = """\ At long last there is finally a way to load any supported image type directly from any Python file-like object, such as a memory buffer using StringIO. """ + + + + +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])]) +