Changeset 15

Show
Ignore:
Timestamp:
12/04/06 05:39:47 (2 years ago)
Author:
lindquist
Message:

Oups. Put the parentBar initialisation in the wrong constructor.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/minwin/menu.d

    r14 r15  
    4040        this(inout MenuBar bar, char[] label, char[] name = "") { 
    4141            this.name = name; 
     42            parentBar = bar; 
    4243            peer = CreateMenu(); 
    4344            BOOL ok = AppendMenuX(bar.peer,MF_POPUP,cast(void*)peer,label); 
     
    8990        this(inout MenuBar bar, char[] label, char[] name = "") { 
    9091            this.name = name; 
    91             parentBar = bar; 
    9292            char* cname = toStringz(label); 
    9393            peer = XmCreatePulldownMenu(bar.peer,cname,null,0);