Pre-WW2 lugers have NO cast parts, apart from the plastic grips on some
Even the postwar Mauser Parabellum had it's castings limited to parts that suffered only low stresses (or none). The ejector was not one of those parts (sideplate and safety lever, amongst others, were cast).