X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b881fc787d2823bdd8a415080b82feee90804a17..7bdfb981a826d29e292738a27700543fa10d2bfb:/wxPython/wx/lib/imagebrowser.py diff --git a/wxPython/wx/lib/imagebrowser.py b/wxPython/wx/lib/imagebrowser.py index 27b56de806..da40ffc340 100644 --- a/wxPython/wx/lib/imagebrowser.py +++ b/wxPython/wx/lib/imagebrowser.py @@ -124,7 +124,7 @@ class ImageDialog(wx.Dialog): self.y_pos = 20 self.delta = 20 - size = wxSize(80, 25) + size = wx.Size(80, 25) self.set_dir = os.getcwd() self.set_file = None @@ -139,7 +139,7 @@ class ImageDialog(wx.Dialog): self.y_pos = self.y_pos + self.delta - btn = wx.Button(self, -1, ' Set Directory ', (self.x_pos, self.y_pos), size).SetDefault() + btn = wx.Button(self, 12331, ' Set Directory ', (self.x_pos, self.y_pos), size) self.Bind(wx.EVT_BUTTON, self.SetDirect, btn) self.type_posy = self.y_pos # save the y position for the image type combo @@ -194,7 +194,7 @@ class ImageDialog(wx.Dialog): self.y_pos = self.y_pos + height + 20 - btn = wx.Button(self, -1, ' Select ', (100, self.y_pos), size).SetDefault() + btn = wx.Button(self, -1, ' Select ', (100, self.y_pos), size) self.Bind(wx.EVT_BUTTON, self.OnOk, btn) wx.Button(self, wx.ID_CANCEL, 'Cancel', (250, self.y_pos), size)