summaryrefslogtreecommitdiff
path: root/test/simple/iupmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/simple/iupmain.c')
-rw-r--r--test/simple/iupmain.c7
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);