mirror of
https://review.haiku-os.org/haiku
synced 2025-01-19 13:01:29 +01:00
74c38cab40
The previous hack, which as the comment (and __MWERKS__) implies dates all the way back to the Be era, finally broke: int32 is "int" on non-x86, not "long", and so this generated an undefined symbol error on ARM. The best solution seems to be to make StartMenuBar merely protected, and then make a subclass where it is fully public to call it. This is a lot less fragile (and much less ugly.) Change-Id: I0519d0d9eeb1cc4523d0c6dd4fdfe8688ed1092c Reviewed-on: https://review.haiku-os.org/c/1516 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>