How South Africa entered the war in 1939

How did South Africa enter the war in 1939, and what immediate consequences did this have for the political status quo in the country at that time?