]> git.saurik.com Git - wxWidgets.git/blob - wxPython/samples/wxPIA_book/Chapter-09/image_box.py
allow the UTF8 build to treat C locale as UTF8, too, it's a 7bit subset of it, so...
[wxWidgets.git] / wxPython / samples / wxPIA_book / Chapter-09 / image_box.py
1 import wx
2 import wx.lib.imagebrowser as imagebrowser
3
4 if __name__ == "__main__":
5 app = wx.PySimpleApp()
6 dialog = imagebrowser.ImageDialog(None)
7 if dialog.ShowModal() == wx.ID_OK:
8 print "You Selected File: " + dialog.GetFile()
9 dialog.Destroy()
10
11