Mercurial > traipse_dev
diff orpg/mapper/map_prop_dialog.py @ 19:78407d627cba traipse_dev
Beginning of Code Clean-up. Some code untested, may break!
author | sirebral |
---|---|
date | Sat, 25 Jul 2009 17:24:40 -0500 |
parents | 4385a7d0efd1 |
children | 072ffc1d466f |
line wrap: on
line diff
--- a/orpg/mapper/map_prop_dialog.py Tue Jul 21 05:34:16 2009 -0500 +++ b/orpg/mapper/map_prop_dialog.py Sat Jul 25 17:24:40 2009 -0500 @@ -211,9 +211,9 @@ self.size = (int(self.ctrls[CTRL_WIDTH].GetValue()),int(self.ctrls[CTRL_HEIGHT].GetValue())) except: pass -# dlg = wx.MessageDialog(frame, 'Invalid Size',"Error") -# dlg.ShowModal() -# dlg.Destroy() + #dlg = wx.MessageDialog(frame, 'Invalid Size',"Error") + #dlg.ShowModal() + #dlg.Destroy() if self.ctrls[CTRL_BG_COLOR].GetValue() == True: self.bg_layer.set_color(self.ctrls[CTRL_BG_COLOR_VALUE].GetBackgroundColour()) elif self.ctrls[CTRL_TEXTURE].GetValue() == True: