bugFXScintilla - Bugs: bug #4534, Missing casts (Mingw)

 
 

bug #4534: Missing casts (Mingw)

Submitted by:  Gilles Filippini <pini>
Submitted on:  Wed 30 Jul 2003 05:50:17 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Gilles Filippini <pini>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 12 Aug 2003 05:59:56 PM UTC, comment #2:

Fixed in version 1.53.

Gilles Filippini <pini>In charge of this item.
Thu 07 Aug 2003 09:02:01 PM UTC, comment #1:

Fixed in CVS.

Gilles Filippini <pini>In charge of this item.
Wed 30 Jul 2003 05:50:17 PM UTC, original submission:

Hi Gilles,

File ScintillaFOX.cxx doesnt compile under mingw due to 2 missing casts on function AddToPopUp.

New code (notice (FXcomposite *) casts on popup.GetID() ):

void ScintillaFOX::AddToPopUp(const char * label, int cmd, bool enabled)
{
if (label[0]) {
FXMenuCommand * item = new FXMenuCommand((FXComposite *)popup.GetID(), label, NULL, &_fxsc, SCID(cmd));
if (!enabled)
item->disable();
}
else
new FXMenuSeparator((FXComposite *)popup.GetID());
}

Thanks for keeping the port up to date.

Regards,
Manuel

Gilles Filippini <pini>In charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 12 Aug 2003 05:59:56 PM UTCpiniOpen/ClosedOpen=>(Error - Not Found)
Thu 07 Aug 2003 09:07:17 PM UTCpiniStatusNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1