git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6143
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
class WXDLLEXPORT wxGridRowOrColAttrData
{
public:
class WXDLLEXPORT wxGridRowOrColAttrData
{
public:
+ // empty ctor to suppress warnings
+ wxGridRowOrColAttrData() { }
~wxGridRowOrColAttrData();
void SetAttr(wxGridCellAttr *attr, int rowOrCol);
~wxGridRowOrColAttrData();
void SetAttr(wxGridCellAttr *attr, int rowOrCol);
if ( IsSelection() && addToSelected )
{
wxRect rect[4];
if ( IsSelection() && addToSelected )
{
wxRect rect[4];
- bool need_refresh[4] = { FALSE, FALSE, FALSE, FALSE };
+ bool need_refresh[4];
+ need_refresh[0] =
+ need_refresh[1] =
+ need_refresh[2] =
+ need_refresh[3] = FALSE;
+
int i;
wxCoord oldLeft = m_selectedTopLeft.GetCol();
int i;
wxCoord oldLeft = m_selectedTopLeft.GetCol();
if ( IsSelection() && addToSelected )
{
wxRect rect[4];
if ( IsSelection() && addToSelected )
{
wxRect rect[4];
- bool need_refresh[4] = { FALSE, FALSE, FALSE, FALSE };
+ bool need_refresh[4];
+ need_refresh[0] =
+ need_refresh[1] =
+ need_refresh[2] =
+ need_refresh[3] = FALSE;
int i;
wxCoord oldLeft = m_selectedTopLeft.GetCol();
int i;
wxCoord oldLeft = m_selectedTopLeft.GetCol();
// Either one rectangle is a real subset of the
// other, or they are (almost) disjoint!
wxRect rect[4];
// Either one rectangle is a real subset of the
// other, or they are (almost) disjoint!
wxRect rect[4];
- bool need_refresh[4] = { FALSE, FALSE, FALSE, FALSE };
+ bool need_refresh[4];
+ need_refresh[0] =
+ need_refresh[1] =
+ need_refresh[2] =
+ need_refresh[3] = FALSE;
int i;
// Store intermediate values
int i;
// Store intermediate values