Patch from Eugene Rimsky

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-05-19 23:55:09 +00:00
parent 519a8af2fa
commit 9831428651

View File

@@ -133,6 +133,7 @@ class ImageDialog(wxDialog):
size = wxSize(80, 25)
self.set_dir = os.getcwd()
self.set_file = None
if set_dir != None:
if os.path.exists(set_dir): # set to working directory if nothing set