No, that sets the most accessible class in your base class.
So, doing:
[php]public Polygon : protected Triangle
class Triangle {
public:
int Sides;
protected:
int Colour;
private:
bool _Hidden;
}
[/php]
would transform transform the variable (int) 'Sides' to protected, and retain the rest.