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

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 1016
Date       : Thu May 11 22:27:07 BST 2006

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

Fix titles on tabbed dialogs


Diff:
Index: Trunk/XaraLX/wxOil/dlgmgr.cpp
===================================================================
--- Trunk/XaraLX/wxOil/dlgmgr.cpp	(revision 1015)
+++ Trunk/XaraLX/wxOil/dlgmgr.cpp	(revision 1016)
@@ -334,7 +334,7 @@
 		if (pPropertySheet)
 		{
 			pPropertySheet->SetTabType(((DialogTabOp*)DlgOp)->GetTabType());
-			if (!pPropertySheet->Create((wxWindow *)ParentWnd, wxID_ANY, (TCHAR*)((DialogTabOp*)DlgOp)->GetName()))
+			if (!pPropertySheet->Create((wxWindow *)ParentWnd, wxID_ANY, (TCHAR*) (*((DialogTabOp*)DlgOp)->GetName()) ))
 			{
 				delete pPropertySheet;
 				pPropertySheet=NULL; // error handling done below
@@ -342,7 +342,6 @@
 			else
 			{
 				pPropertySheet->CreateButtons( wxOK|wxCANCEL|wxHELP );
-				pPropertySheet->SetTitle(wxString((TCHAR*)((DialogTabOp*)DlgOp)->GetName()));
 			}
 		}
 		pDialogWnd=pPropertySheet;


Xara