[Greater-commits] r327 - trunk/GREAT-ER/Greater/Dialogs
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jun 30 12:53:10 CEST 2011
Author: aheinecke
Date: 2011-06-30 12:53:10 +0200 (Thu, 30 Jun 2011)
New Revision: 327
Modified:
trunk/GREAT-ER/Greater/Dialogs/showpicture.py
Log:
Use wxSize to correctly add the spacer between the buttons,
using ints caused an assertion in wxwidgets
Modified: trunk/GREAT-ER/Greater/Dialogs/showpicture.py
===================================================================
--- trunk/GREAT-ER/Greater/Dialogs/showpicture.py 2011-06-30 10:44:33 UTC (rev 326)
+++ trunk/GREAT-ER/Greater/Dialogs/showpicture.py 2011-06-30 10:53:10 UTC (rev 327)
@@ -84,7 +84,7 @@
button.SetDefault()
button.SetFocus()
bs.Add(button, 0, wxLEFT | wxRIGHT)
- bs.Add(60, 20, 0, wxLEFT | wxRIGHT)
+ bs.Add(wxSize(60, 20), 0, wxLEFT | wxRIGHT)
button = wxButton(self, ID_SAVEAS, "Save As...")
bs.Add(button, 0, wxLEFT | wxRIGHT)
More information about the Greater-commits
mailing list