[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-commits] Commit Complete
Commit by : luke
Repository : xara
Revision : 1667
Date : Fri Aug 4 12:40:10 BST 2006
Changed paths:
M /Trunk/XaraLX/wxOil/oilmenus.cpp
Remove the 'unimplemented' menu item under window menu
Diff:
Index: Trunk/XaraLX/wxOil/oilmenus.cpp
===================================================================
--- Trunk/XaraLX/wxOil/oilmenus.cpp (revision 1666)
+++ Trunk/XaraLX/wxOil/oilmenus.cpp (revision 1667)
@@ -289,12 +289,19 @@
wxMenu* pNewMenu = CreatePopup( pSubMenu );
if (pNewMenu)
{
- wxString sName((TCHAR *)pSubMenu->GetMenuText());
- if (!pPopupMenu->Append( pSubMenu->GetMenuId(), sName, pNewMenu ))
+#if !defined(_DEBUG)
+ if( !fIsUnimpl )
{
- TRACEUSER("luke", _T("Append failed
"));
+#endif
+ wxString sName((TCHAR *)pSubMenu->GetMenuText());
+ if (!pPopupMenu->Append( pSubMenu->GetMenuId(), sName, pNewMenu ))
+ {
+ TRACEUSER("luke", _T("Append failed
"));
+ }
}
+#if !defined(_DEBUG)
}
+#endif
}
else
{
Xara