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

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 1251
Date       : Mon Jun  5 13:24:24 BST 2006

Changed paths:
   M /Trunk/XaraLX/Kernel/sgline.cpp

Fix assert when menu item ticked for line sgallery


Diff:
Index: Trunk/XaraLX/Kernel/sgline.cpp
===================================================================
--- Trunk/XaraLX/Kernel/sgline.cpp	(revision 1250)
+++ Trunk/XaraLX/Kernel/sgline.cpp	(revision 1251)
@@ -2860,8 +2860,18 @@
 								OPTOKEN_DISPLAY_LINE_GALLERY,
 								OpDisplayLineGallery::GetState,
 								0,                                      /* help ID */
-								_R(IDBBL_DISPLAY_LINE_GALLERY),
-								0);                                     /* bitmap ID */
+	 							_R(IDBBL_DISPLAY_LINE_GALLERY),
+				 				_R(IDC_BTN_SGLINE), // UINT32 resourceID = 0,	// resource ID
+								_R(IDC_BTN_SGLINE), // UINT32 controlID = 0,	// control ID
+								SYSTEMBAR_ILLEGAL,	  // SystemBarType GroupBarID = SYSTEMBAR_ILLEGAL,	// group bar ID
+				 				TRUE,	  // BOOL ReceiveMessages = TRUE,	// BODGE
+				 				FALSE,	  // BOOL Smart = FALSE,
+				 				TRUE,	  // BOOL Clean = TRUE,   
+								NULL,	  // OpDescriptor *pVertOpDesc = NULL,
+								0,	  // UINT32 OneOpenInstID = 0,		
+								0,	  // UINT32 AutoStateFlags = 0,
+								TRUE	  // BOOL fCheckable = FALSE
+								);
 }
 
 


Xara