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

[XaraXtreme-commits] Commit Complete



Commit by  : luke
Repository : xara
Revision   : 964
Date       : Fri May  5 16:51:30 BST 2006

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

Add sizer based export dialogs (missed file)


Diff:
Index: Trunk/XaraLX/wxOil/dlgmgr.h
===================================================================
--- Trunk/XaraLX/wxOil/dlgmgr.h	(revision 963)
+++ Trunk/XaraLX/wxOil/dlgmgr.h	(revision 964)
@@ -473,7 +473,7 @@
 						 Node* pNode,
 						 BOOL IncludeUnitSpecifier = TRUE,
 			             BOOL EndOfList = FALSE, 
-			     		 INT32 ListPos = 0
+			     		 INT32 ListPos = -1
 			             ); 
 
 	static BOOL SetMemoryGadgetValue( CWindowID WindowID, 
@@ -590,6 +590,10 @@
 	static BOOL HideGadget(CWindowID WindowID, CGadgetID Gadget, BOOL Hide); 
 	static BOOL GadgetRedraw(CWindowID WindowID, CGadgetID Gadget, BOOL Redraw);
 
+	// This function should be called after hiding\showing a control,
+	// so the dialog can be resized
+	static void RelayoutDialog(DialogTabOp* DlgOp);
+
     // ------------------------------------------------------------------------------------- 
     // Setting the keyboard input focus.
 	static BOOL SetKeyboardFocus(CWindowID WindowID, CGadgetID Gadget);


Xara