fixed the fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -341,7 +341,7 @@ class DirBrowseButton(FileBrowseButton):
|
||||
dialog = self.dialogClass(self,
|
||||
message = self.dialogTitle,
|
||||
defaultPath = self.startDirectory)
|
||||
if dialog.ShowModal() == wx.ID_OK:
|
||||
if dialog.ShowModal() == wxID_OK:
|
||||
self.SetValue(dialog.GetPath())
|
||||
dialog.Destroy()
|
||||
#
|
||||
|
Reference in New Issue
Block a user