--- nfo/projects/netfraggle/bin/fraggleDialogPrefs.py 2004/08/25 21:43:00 1.4 +++ nfo/projects/netfraggle/bin/fraggleDialogPrefs.py 2004/08/26 23:10:11 1.5 @@ -33,15 +33,15 @@ self._init_utils() self.SetClientSize(wxSize(366, 188)) - self.btsave = wxButton(id=wxID_FRAGGLEDIALOGPREFSBTSAVE, label='Save', - name='btsave', parent=self, pos=wxPoint(8, 168), size=wxSize(64, - 16), style=0) + self.btsave = wxButton(id=wxID_FRAGGLEDIALOGPREFSBTSAVE, + label='Save and Close', name='btsave', parent=self, + pos=wxPoint(8, 168), size=wxSize(96, 16), style=0) EVT_BUTTON(self.btsave, wxID_FRAGGLEDIALOGPREFSBTSAVE, self.OnBtsaveButton) self.button1 = wxButton(id=wxID_FRAGGLEDIALOGPREFSBUTTON1, - label='Cancel', name='button1', parent=self, pos=wxPoint(80, 168), - size=wxSize(56, 16), style=0) + label='Cancel', name='button1', parent=self, pos=wxPoint(112, + 168), size=wxSize(56, 16), style=0) EVT_BUTTON(self.button1, wxID_FRAGGLEDIALOGPREFSBUTTON1, self.OnButton1Button) @@ -108,6 +108,7 @@ ) self.parent.preferencesCtl.saveConfig() + self.Hide() event.Skip() def loadConfig(self):