changeset 75:472be5d8da2f

Not sure why this didn't get added with the last commit.
author Brian Smith <brian@dbsoft.org>
date Fri, 22 Mar 2013 14:35:56 -0500
parents 6f96694ec425
children 32541f23e129
files src/dwibtest/dwibtest.go
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/dwibtest/dwibtest.go	Fri Mar 22 14:29:26 2013 -0500
+++ b/src/dwibtest/dwibtest.go	Fri Mar 22 14:35:56 2013 -0500
@@ -45,7 +45,7 @@
 
     /* Show an error if it fails to load */
     if handle == nil {
-        dw.Messagebox(APP_NAME, dw.MB_OK | dw.MB_ERROR, "Unable to load the interface XML.");
+        dw.MessageBox(APP_NAME, dw.MB_OK | dw.MB_ERROR, "Unable to load the interface XML.");
         return;
     }
 
@@ -57,7 +57,7 @@
     window.ConnectDelete(func(window dw.HWND) int { return exit_handler(); });
     /* Handler for Mac application menu Quit */
     dw.DESKTOP.ConnectDelete(func(window dw.HWND) int { return exit_handler(); });
-    quitmenu := dw.HANDLE_TO_HMENUITEM(dwib.Window_get_handle(window, "quitmenu"));
+    quitmenu := dw.HANDLE_TO_HMENUITEM(dwib.GetHandle(window, "quitmenu"));
     quitmenu.ConnectClicked(func(window dw.HMENUITEM) int { return exit_handler(); });
 
     dw.Main();