diff options
author | scuri <scuri> | 2009-12-16 13:20:08 +0000 |
---|---|---|
committer | scuri <scuri> | 2009-12-16 13:20:08 +0000 |
commit | d16f00afbbac707bba729eb3874fac4c52273a91 (patch) | |
tree | 3c92a5551573f4ba88cc525803d1756fff5e45fb /test/simple/iupmain.c | |
parent | 130c513d903cc7d3d67f9fcb82d9b1a964cf0f08 (diff) |
*** empty log message ***
Diffstat (limited to 'test/simple/iupmain.c')
-rw-r--r-- | test/simple/iupmain.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/simple/iupmain.c b/test/simple/iupmain.c index 2f2efc1..daf058a 100644 --- a/test/simple/iupmain.c +++ b/test/simple/iupmain.c @@ -15,20 +15,15 @@ int main(int argc, char** argv) { IupOpen(&argc, &argv); -#ifndef USE_GDK +#ifdef USE_CONTEXTPLUS cdInitContextPlus(); #endif simple_loadled(); -#ifdef USE_GDK - IupSetAttribute(IupGetHandle("SimpleCanvas"), "CD_GDK", "YES"); -#endif - IupSetAttribute(IupGetHandle("SimpleDialog"), "PLACEMENT", "MAXIMIZED"); IupShow(IupGetHandle("SimpleDialog")); - SimpleCreateCanvas((char*)IupGetHandle("SimpleCanvas")); IupSetFunction("cmdExit", (Icallback) cmdExit); |