diff options
author | scuri <scuri> | 2009-12-15 19:33:00 +0000 |
---|---|---|
committer | scuri <scuri> | 2009-12-15 19:33:00 +0000 |
commit | d576fbeadc7f52a0b7c63ba0793f8bdcceccc15b (patch) | |
tree | abf9406f4e85cc5e3b6d50be22236d6eba9ff789 /test/simple/iupmain.c | |
parent | 2df78db7863840f59d0a1beff5fae7012bce637d (diff) |
*** empty log message ***
Diffstat (limited to 'test/simple/iupmain.c')
-rw-r--r-- | test/simple/iupmain.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/simple/iupmain.c b/test/simple/iupmain.c index e8af887..2f2efc1 100644 --- a/test/simple/iupmain.c +++ b/test/simple/iupmain.c @@ -21,12 +21,14 @@ int main(int argc, char** argv) simple_loadled(); +#ifdef USE_GDK + IupSetAttribute(IupGetHandle("SimpleCanvas"), "CD_GDK", "YES"); +#endif + IupSetAttribute(IupGetHandle("SimpleDialog"), "PLACEMENT", "MAXIMIZED"); IupShow(IupGetHandle("SimpleDialog")); -#ifdef USE_GDK - IupSetAttribute(IupGetHandle("SimpleCanvas"), "CD_GDK", "Yes"); -#endif + SimpleCreateCanvas((char*)IupGetHandle("SimpleCanvas")); IupSetFunction("cmdExit", (Icallback) cmdExit); |