]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for wxMGL
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 15 Oct 2001 22:45:37 +0000 (22:45 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 15 Oct 2001 22:45:37 +0000 (22:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/univ/statusbr.h
src/univ/statusbr.cpp

index 804029fbc14d587826206cf59f3cdfaea3af4e29..5c97873fe81ed447f7267771a68ae4b52d786dcc 100644 (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
 // ----------------------------------------------------------------------------
index 679e664bceb43ccd078cff1f1e1832fdc7a54a76..62f72574581c96efce676a87f43a24bd9578635d 100644 (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