projects
/
wxWidgets.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
minor tab drawing improvements
[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