Implement more statusbar routines in wxQT, thanks @seandepagnier

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mariano Reingart 2014-09-29 03:20:28 +00:00
parent 8ef86dc3fc
commit cd0e3b9ba4

View File

@ -52,13 +52,18 @@ bool wxStatusBar::Create(wxWindow *parent, wxWindowID WXUNUSED(winid),
return true;
}
bool wxStatusBar::GetFieldRect(int WXUNUSED(i), wxRect& WXUNUSED(rect)) const
bool wxStatusBar::GetFieldRect(int i, wxRect& rect) const
{
return false;
wxCHECK_MSG( (i >= 0) && ((size_t)i < m_panes.GetCount()), false,
"invalid statusbar field index" );
rect = wxQtConvertRect(m_qtPanes[i]->geometry());
return true;
}
void wxStatusBar::SetMinHeight(int WXUNUSED(height))
void wxStatusBar::SetMinHeight(int height)
{
m_qtStatusBar->setMinimumHeight(height);
}
int wxStatusBar::GetBorderX() const