forked from mirrors/0ad
7bb0f2ea69
Moves the AddSetting sound calls from CButton and CCheckbox to IGUIButtonBehavior, since the latter is the only class to use them. Moves ChooseColor from IGUIButtonBehavior to CButton, since that's the only class to use it and the only class registering the dependent Settings followingb1422137e5(refsd412b2010b/ D2314) Initialize m_PressedRight in the constructor to prevent undefined behavior in possible future code following0d204037b6, refs #1028. Remove unused soundPath variable following0e26503cc6/ D2209. Differential Revision: https://code.wildfiregames.com/D2318 Tested on: clang 8.0.1, Jenkins This was SVN commit r22969.