OSDN Git Service

fix datwindow's gid handling in hmi.c
authorornse01 <ornse01@users.sourceforge.jp>
Tue, 25 Jan 2011 16:08:15 +0000 (16:08 +0000)
committerornse01 <ornse01@users.sourceforge.jp>
Tue, 25 Jan 2011 16:08:15 +0000 (16:08 +0000)
git-svn-id: http://svn.sourceforge.jp/svnroot/bchan/bchan/trunk@205 20a0b8eb-f62a-4a12-8fe1-b598822500fb

src/hmi.c

index 9f0d7ea..c3c417c 100644 (file)
--- a/src/hmi.c
+++ b/src/hmi.c
@@ -1449,6 +1449,7 @@ LOCAL datwindow_t* datwindow_new(RECT *r, TC *title, PAT *bgpat, datwindow_scrol
                free(window);
                return NULL;
        }
+       window->gid = wget_gid(window->wid);
        window->scroll_callback = scrollcallback;
        window->arg = arg;