Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

*** empty log message ***

  • Loading branch information...
commit 67899460e5ec148c3910f4ab5cd989c5b352996b 1 parent 6804c41
scuri authored
6 mak.vc9/iuptestgtk.vcproj
@@ -69,7 +69,7 @@
69 69 <Tool
70 70 Name="VCLinkerTool"
71 71 AdditionalOptions="/MACHINE:I386"
72   - AdditionalDependencies="comctl32.lib ole32.lib opengl32.lib glu32.lib gtk-win32-2.0.lib gdk-win32-2.0.lib gdk_pixbuf-2.0.lib pango-1.0.lib pangowin32-1.0.lib gobject-2.0.lib gmodule-2.0.lib glib-2.0.lib iupgtk.lib iupgl.lib iupcontrols.lib iupimglib.lib iup_pplot.lib iup_mglplot.lib cdgdk.lib ftgl.lib freetype6.lib zlib1.lib iupcd.lib"
  72 + AdditionalDependencies="comctl32.lib ole32.lib opengl32.lib glu32.lib gtk-win32-2.0.lib gdk-win32-2.0.lib gdk_pixbuf-2.0.lib pango-1.0.lib pangowin32-1.0.lib gobject-2.0.lib gmodule-2.0.lib glib-2.0.lib iupgtk.lib iupgl.lib iupcontrols.lib iupimglib.lib iup_pplot.lib iup_mglplot.lib cdgdk.lib ftgl.lib freetype6.lib zlib1.lib iupcd.lib cdgl.lib"
73 73 LinkIncremental="1"
74 74 SuppressStartupBanner="true"
75 75 AdditionalLibraryDirectories="..\lib;d:\lng\gtk2\lib;..\..\cd\lib;d:\lng\vld\lib"
@@ -151,6 +151,10 @@
151 151 >
152 152 </File>
153 153 <File
  154 + RelativePath="..\test\charac.c"
  155 + >
  156 + </File>
  157 + <File
154 158 RelativePath="..\test\class_conf.c"
155 159 >
156 160 </File>
11 src/win/iupwin_tree.c
@@ -1847,16 +1847,13 @@ static int winTreeSetValueAttrib(Ihandle* ih, const char* value)
1847 1847
1848 1848 if (hItem)
1849 1849 {
1850   - winTreeSelectNode(ih, hItemFocus, 0);
1851   - winTreeSelectNode(ih, hItem, 1);
1852   - winTreeSetFocusNode(ih, hItem);
1853   -
  1850 + //TODO check
1854 1851 // if (ih->data->mark_mode==ITREE_MARK_SINGLE)
1855 1852 // {
1856   -// winTreeSelectNode(ih, hItemFocus, 0);
1857   -// winTreeSelectNode(ih, hItem, 1);
  1853 + winTreeSelectNode(ih, hItemFocus, 0);
  1854 + winTreeSelectNode(ih, hItem, 1);
1858 1855 // }
1859   -// winTreeSetFocusNode(ih, hItem);
  1856 + winTreeSetFocusNode(ih, hItem);
1860 1857 }
1861 1858
1862 1859 return 0;
4 test/tree.c
@@ -337,6 +337,8 @@ static int nodeinfo(Ihandle* ih)
337 337 int branch = 0, id = IupGetInt(tree, "VALUE");
338 338 printf("\nTree Info:\n");
339 339 printf(" TOTALCOUNT=%s\n", IupGetAttribute(tree, "COUNT"));
  340 + if (id == -1)
  341 + return IUP_DEFAULT;
340 342 printf("Node Info:\n");
341 343 printf(" ID=%d\n", id);
342 344 printf(" TITLE=%s\n", IupGetAttribute(tree, "TITLE"));
@@ -547,6 +549,8 @@ static void init_tree(void)
547 549 // IupSetAttribute(tree, "TIPBALLOONTITLE", "Tip Title");
548 550 // IupSetAttribute(tree, "TIPBALLOONTITLEICON", "2");
549 551
  552 + //IupSetAttribute(tree, "ADDROOT", "NO");
  553 +
550 554 IupSetHandle("tree", tree);
551 555 }
552 556

0 comments on commit 6789946

Please sign in to comment.
Something went wrong with that request. Please try again.