xj qian
2024-07-18 3f7c146b097c84ecd159a7de8391168e44b04cc8
jrj/project/total3/ViewTotalWin.cpp
@@ -18,8 +18,7 @@
public:
   static ViewTotalWin* CreateInstance(void* implPtr, void* hWnd)
   {
      ViewTotalWin* pWin = new ViewTotalWin(implPtr, (HWND)hWnd);
      return pWin;
      return new ViewTotalWin(implPtr, (HWND)hWnd);
   }
public:
   xdwgrid   dw_list;
@@ -137,7 +136,7 @@
            if (argUrl != L"")
            {
               xaserverarg ar ;
               ar.setNativePointer(ar.CreateInstance());
               //ar.setNativePointer(ar.CreateInstance());
               ar.AddArg(L"argurl", argUrl);
               if (argStr != L"")
                  ar.AddArg(L"arg", argStr);
@@ -496,7 +495,7 @@
         {
            KXMLDOMElement rpt = nlist.item(i);
            xstring name = rpt.getAttribute(L"name");
            xc.AddItem( name, rpt);
            xc.AddItem( name, rpt.ptr());
            if (i == 0) xc.SetText(name);
            if (i == 0) rptEle = rpt;
         }