compilation fix for wxMGL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2001-10-15 22:45:37 +00:00
parent e1bdd5078c
commit fe9fea7ec7
2 changed files with 4 additions and 3 deletions

View File

@@ -16,6 +16,8 @@
#pragma interface "univstatusbr.h"
#endif
#include "wx/univ/inpcons.h"
// ----------------------------------------------------------------------------
// wxStatusBar: a window near the bottom of the frame used for status info
// ----------------------------------------------------------------------------

View File

@@ -30,6 +30,8 @@
#if wxUSE_STATUSBAR
#ifndef WX_PRECOMP
#include "wx/settings.h"
#include "wx/dcclient.h"
#endif
#include "wx/statusbr.h"
@@ -83,9 +85,6 @@ bool wxStatusBarUniv::Create(wxWindow *parent,
wxRect wxStatusBarUniv::GetTotalFieldRect(wxCoord *borderBetweenFields)
{
// determine the space we have for the fields
wxSize sizeBorders = m_renderer->GetStatusBarBorders(borderBetweenFields);
wxRect rect = GetClientRect();
// no, don't do this - the borders are meant to be inside this rect