From: Itamar M. L. J. L. <ita...@gm...> - 2018-08-26 22:26:06
|
Hi! This example not work with GTK2 #include "hwgui.ch" Function Test Local oMain INIT WINDOW oMain MAIN TITLE "My Second HwGUI sample" AT 100, 100 SIZE 400, 300 MENU OF oMain MENU TITLE "&File" MENUITEM "&Message" ACTION hwg_Msginfo( "Just a test", "Message" ) SEPARATOR MENUITEM "&Exit" ACTION oMain:Close() ENDMENU MENU TITLE "&Help" MENUITEM "&About" ACTION hwg_Msginfo( HwG_Version(), "About" ) ENDMENU ENDMENU ACTIVATE WINDOW oMain *** buffer overflow detected ***: /home/itamar/hwgui-code/hwgui/utils/tutorial/hwgrun terminated Dialogs, controls, etc works fine but if exist command "MENU OF..." the program crash... buffer overflow... Best regards, Itamar M. Lins Jr. |