summary refs log tree commit diff stats
path: root/examples/gtk/ex9.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <andreas@andreas-desktop>2010-03-01 19:37:33 +0100
committerAndreas Rumpf <andreas@andreas-desktop>2010-03-01 19:37:33 +0100
commit4ee65a08ddc7605b0bc1424642a46bace60a09e8 (patch)
treed9a6cd0e0746ebbd8541a42efae604f2062b3037 /examples/gtk/ex9.nim
parentdf672f5b9a3439e2c6e92c90b7d1cdbc37ad197b (diff)
downloadNim-4ee65a08ddc7605b0bc1424642a46bace60a09e8.tar.gz
further enhancements for the GTK wrapper
Diffstat (limited to 'examples/gtk/ex9.nim')
-rwxr-xr-xexamples/gtk/ex9.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gtk/ex9.nim b/examples/gtk/ex9.nim
index 9dcb866f7..1481e6be1 100755
--- a/examples/gtk/ex9.nim
+++ b/examples/gtk/ex9.nim
@@ -15,7 +15,7 @@ var
 nimrod_init()
 var window = window_new(gtk2.WINDOW_TOPLEVEL)
 var stackbox = vbox_new(TRUE, 10)
-var button1 = button_new_with_label("Move mouse over button")
+var button1 = button_new("Move mouse over button")
 var buttonstyle = copy(get_style(Button1))
 ButtonStyle.bg[STATE_PRELIGHT].pixel = 0
 ButtonStyle.bg[STATE_PRELIGHT].red = -1'i16