projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a confusion between window and client size that could lead to
[wxWidgets.git]
/
src
/
mac
/
classic
/
statbrma.cpp
diff --git
a/src/mac/classic/statbrma.cpp
b/src/mac/classic/statbrma.cpp
index f2a36929af5539d6d91583de1fc6f9801a8d9832..5bb50e0518eae68324a1ce1fa6bf3d62908745b4 100644
(file)
--- a/
src/mac/classic/statbrma.cpp
+++ b/
src/mac/classic/statbrma.cpp
@@
-9,6
+9,9
@@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
@@
-88,14
+91,14
@@
void wxStatusBarMac::DrawField(wxDC& dc, int i)
void wxStatusBarMac::SetStatusText(const wxString& text, int number)
{
wxCHECK_RET( (number >= 0) && (number < m_nFields),
void wxStatusBarMac::SetStatusText(const wxString& text, int number)
{
wxCHECK_RET( (number >= 0) && (number < m_nFields),
- _T("invalid status bar field index") );
+
_T("invalid status bar field index") );
m_statusStrings[number] = text;
wxRect rect;
GetFieldRect(number, rect);
rect.y=0;
rect.height = m_height ;
m_statusStrings[number] = text;
wxRect rect;
GetFieldRect(number, rect);
rect.y=0;
rect.height = m_height ;
- Refresh(
TRUE
, &rect ) ;
+ Refresh(
true
, &rect ) ;
Update();
}
Update();
}
@@
-149,6
+152,6
@@
void wxStatusBarMac::OnPaint(wxPaintEvent& WXUNUSED(event) )
void wxStatusBarMac::MacSuperEnabled( bool enabled )
{
void wxStatusBarMac::MacSuperEnabled( bool enabled )
{
- Refresh(
FALSE
) ;
+ Refresh(
false
) ;
wxWindow::MacSuperEnabled( enabled ) ;
}
wxWindow::MacSuperEnabled( enabled ) ;
}