Generation of ultra-short betatron x-rays by laser-accelerated electron beams is of great research interest as it has many applications. In this paper, we propose a scheme for obtaining bright betatron x-rays by applying external wiggler magnetic field in the laser wakefield to resonantly drive the betatron oscillations of the accelerated electrons therein. This results in a significant enhancement of the betatron oscillation amplitude and generation of bright x-rays with high photon energy. The scheme is demonstrated using two-dimensional particle-in-cell simulation and discussed using a simple analytical model.