This replaces 4 calls to GetBitmap() with a single one. Note that we now use SetBitmapPressed() and SetBitmapCurrent(), which take wxBitmapBundle, instead of deprecated SetBitmapSelected() and SetBitmapFocus(), which do not. We also search for the parameter node only once instead of doing it twice in a row if it was found, so the new code is slightly more efficient.