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:
@@ -16,6 +16,8 @@
|
|||||||
#pragma interface "univstatusbr.h"
|
#pragma interface "univstatusbr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/univ/inpcons.h"
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxStatusBar: a window near the bottom of the frame used for status info
|
// wxStatusBar: a window near the bottom of the frame used for status info
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -30,6 +30,8 @@
|
|||||||
#if wxUSE_STATUSBAR
|
#if wxUSE_STATUSBAR
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
|
#include "wx/settings.h"
|
||||||
|
#include "wx/dcclient.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/statusbr.h"
|
#include "wx/statusbr.h"
|
||||||
@@ -83,9 +85,6 @@ bool wxStatusBarUniv::Create(wxWindow *parent,
|
|||||||
|
|
||||||
wxRect wxStatusBarUniv::GetTotalFieldRect(wxCoord *borderBetweenFields)
|
wxRect wxStatusBarUniv::GetTotalFieldRect(wxCoord *borderBetweenFields)
|
||||||
{
|
{
|
||||||
// determine the space we have for the fields
|
|
||||||
wxSize sizeBorders = m_renderer->GetStatusBarBorders(borderBetweenFields);
|
|
||||||
|
|
||||||
wxRect rect = GetClientRect();
|
wxRect rect = GetClientRect();
|
||||||
|
|
||||||
// no, don't do this - the borders are meant to be inside this rect
|
// no, don't do this - the borders are meant to be inside this rect
|
||||||
|
Reference in New Issue
Block a user