#ifndef _WX_UNIV_STATUSBR_H_
#define _WX_UNIV_STATUSBR_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "univstatusbr.h"
#endif
#include "wx/univ/inpcons.h"
+#include "wx/arrstr.h"
// ----------------------------------------------------------------------------
// wxStatusBar: a window near the bottom of the frame used for status info
wxStatusBarUniv() { Init(); }
wxStatusBarUniv(wxWindow *parent,
- wxWindowID id = -1,
+ wxWindowID id = wxID_ANY,
long style = 0,
const wxString& name = wxPanelNameStr)
{
}
bool Create(wxWindow *parent,
- wxWindowID id = -1,
+ wxWindowID id = wxID_ANY,
long style = 0,
const wxString& name = wxPanelNameStr);
// also updates m_widthsAbs if necessary
wxRect GetTotalFieldRect(wxCoord *borderBetweenFields);
+ // get the rect for this field without ani side effects (see code)
wxRect DoGetFieldRect(int n) const;
// refresh the given field