git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10749
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
m_lines[i].Draw( &dc );
// Draw horizontal rule if required
{
m_lines[i].Draw( &dc );
// Draw horizontal rule if required
- if (GetWindowStyle() & wxLC_HRULES)
+ if (m_mode & wxLC_HRULES)
{
dc.SetPen(pen);
dc.SetBrush(* wxTRANSPARENT_BRUSH);
{
dc.SetPen(pen);
dc.SetBrush(* wxTRANSPARENT_BRUSH);
}
// Draw last horizontal rule
}
// Draw last horizontal rule
- if ((i > (size_t) (y_s / lineSpacing)) && (GetWindowStyle() & wxLC_HRULES))
+ if ((i > (size_t) (y_s / lineSpacing)) && (m_mode & wxLC_HRULES))
{
dc.SetPen(pen);
dc.SetBrush(* wxTRANSPARENT_BRUSH);
{
dc.SetPen(pen);
dc.SetBrush(* wxTRANSPARENT_BRUSH);
}
// Draw vertical rules if required
}
// Draw vertical rules if required
- if ((GetWindowStyle() & wxLC_VRULES) && (GetItemCount() > 0))
+ if ((m_mode & wxLC_VRULES) && (GetItemCount() > 0))
{
int col = 0;
wxRect firstItemRect;
{
int col = 0;
wxRect firstItemRect;
}
}
MacSuperShown( show ) ;
}
}
MacSuperShown( show ) ;
+ if ( !show )
+ {
+ WindowRef window = GetMacRootWindow() ;
+ wxWindow* win = wxFindWinFromMacWindow( window ) ;
+ if ( !win->m_isBeingDeleted )
+ Refresh() ;
+ }
+ else
+ {
+ Refresh() ;
+ }
}
}
MacSuperShown( show ) ;
}
}
MacSuperShown( show ) ;
+ if ( !show )
+ {
+ WindowRef window = GetMacRootWindow() ;
+ wxWindow* win = wxFindWinFromMacWindow( window ) ;
+ if ( !win->m_isBeingDeleted )
+ Refresh() ;
+ }
+ else
+ {
+ Refresh() ;
+ }