+void wxStatusBarGeneric::SetMinHeight(int height)
+{
+ // check that this min height is not less than minimal height for the
+ // current font
+ wxClientDC dc(this);
+ wxCoord y;
+ dc.GetTextExtent( _T("X"), NULL, &y );
+
+ if ( height > (11*y)/10 )
+ {
+ SetSize(-1, -1, -1, height + 2*m_borderY);
+ }
+}
+
+//#endif // Win32 && wxUSE_NATIVE_STATUSBAR