Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

*** empty log message ***

  • Loading branch information...
commit 67899460e5ec148c3910f4ab5cd989c5b352996b 1 parent 6804c41
scuri authored
View
6 mak.vc9/iuptestgtk.vcproj
@@ -69,7 +69,7 @@
<Tool
Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386"
- 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"
+ 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"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\lib;d:\lng\gtk2\lib;..\..\cd\lib;d:\lng\vld\lib"
@@ -151,6 +151,10 @@
>
</File>
<File
+ RelativePath="..\test\charac.c"
+ >
+ </File>
+ <File
RelativePath="..\test\class_conf.c"
>
</File>
View
11 src/win/iupwin_tree.c
@@ -1847,16 +1847,13 @@ static int winTreeSetValueAttrib(Ihandle* ih, const char* value)
if (hItem)
{
- winTreeSelectNode(ih, hItemFocus, 0);
- winTreeSelectNode(ih, hItem, 1);
- winTreeSetFocusNode(ih, hItem);
-
+ //TODO check
// if (ih->data->mark_mode==ITREE_MARK_SINGLE)
// {
-// winTreeSelectNode(ih, hItemFocus, 0);
-// winTreeSelectNode(ih, hItem, 1);
+ winTreeSelectNode(ih, hItemFocus, 0);
+ winTreeSelectNode(ih, hItem, 1);
// }
-// winTreeSetFocusNode(ih, hItem);
+ winTreeSetFocusNode(ih, hItem);
}
return 0;
View
4 test/tree.c
@@ -337,6 +337,8 @@ static int nodeinfo(Ihandle* ih)
int branch = 0, id = IupGetInt(tree, "VALUE");
printf("\nTree Info:\n");
printf(" TOTALCOUNT=%s\n", IupGetAttribute(tree, "COUNT"));
+ if (id == -1)
+ return IUP_DEFAULT;
printf("Node Info:\n");
printf(" ID=%d\n", id);
printf(" TITLE=%s\n", IupGetAttribute(tree, "TITLE"));
@@ -547,6 +549,8 @@ static void init_tree(void)
// IupSetAttribute(tree, "TIPBALLOONTITLE", "Tip Title");
// IupSetAttribute(tree, "TIPBALLOONTITLEICON", "2");
+ //IupSetAttribute(tree, "ADDROOT", "NO");
+
IupSetHandle("tree", tree);
}

0 comments on commit 6789946

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