make wxStatusBarPane a 'full class' with getters and protected data; document it; provide more accessors in wxStatusBar (closes #10574)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -225,7 +225,7 @@ void wxStatusBarGeneric::DrawField(wxDC& dc, int i, int textHeight)
|
||||
if (rect.GetWidth() <= 0)
|
||||
return; // happens when the status bar is shrinked in a very small area!
|
||||
|
||||
int style = m_panes[i].nStyle;
|
||||
int style = m_panes[i].GetStyle();
|
||||
if (style != wxSB_FLAT)
|
||||
{
|
||||
// Draw border
|
||||
|
||||
Reference in New Issue
Block a user