Ported wxStatusBar sample from C++