[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 1045
Date       : Mon May 15 11:55:50 BST 2006

Changed paths:
   M /Trunk/XaraLX/wxOil/dlgmgr.cpp

Allow selection of first item in comboboxes to work properly


Diff:
Index: Trunk/XaraLX/wxOil/dlgmgr.cpp
===================================================================
--- Trunk/XaraLX/wxOil/dlgmgr.cpp	(revision 1044)
+++ Trunk/XaraLX/wxOil/dlgmgr.cpp	(revision 1045)
@@ -3144,7 +3144,7 @@
 										CGadgetID Gadget,
 										INT32 Index)
 {
-	if (Index>0)
+	if (Index>=0)
 		return SetBoolGadgetSelected(WindowID, Gadget, TRUE, Index);
 	return SetBoolGadgetSelected(WindowID, Gadget, FALSE, -1);
 }


Xara