[Gambas-devel] GTK+ menu / Gambas IDE 1.9.3
    Daniel Campos 
    daniel.campos at ...103...
       
    Sun Mar  6 21:41:17 CET 2005
    
    
  
OK:
I've found the error that makes the Gambas IDE crash when using
menus and the gb.gtk component:
Gambas IDE - CComponent.class (line 205)
IF Type = "Form" THEN
    IF Key = "gb.gtk" THEN
      FOR EACH sClass IN ["Control", "Form"]
        Classes[sClass].InitControl(hForm)
      NEXT
      ...........
Shold be replaced by:
IF Type = "Form" THEN
    IF Key = "gb.gtk" THEN
      FOR EACH sClass IN ["Control", "Form", "Menu"]
        Classes[sClass].InitControl(hForm)
      NEXT
      ...........
Then compiling and running the patched IDE all menu design operations 
work OK with gb.gtk.
Regards,
D. Campos
    
    
More information about the Devel
mailing list