auto arrays can't be initialized - compile error for HP-UX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
619fda4f5a
commit
ee6694a711
@ -226,6 +226,8 @@ private:
|
|||||||
class WXDLLEXPORT wxGridRowOrColAttrData
|
class WXDLLEXPORT wxGridRowOrColAttrData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
// empty ctor to suppress warnings
|
||||||
|
wxGridRowOrColAttrData() { }
|
||||||
~wxGridRowOrColAttrData();
|
~wxGridRowOrColAttrData();
|
||||||
|
|
||||||
void SetAttr(wxGridCellAttr *attr, int rowOrCol);
|
void SetAttr(wxGridCellAttr *attr, int rowOrCol);
|
||||||
@ -5987,7 +5989,12 @@ void wxGrid::SelectRow( int row, bool addToSelected )
|
|||||||
if ( IsSelection() && addToSelected )
|
if ( IsSelection() && addToSelected )
|
||||||
{
|
{
|
||||||
wxRect rect[4];
|
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;
|
int i;
|
||||||
|
|
||||||
wxCoord oldLeft = m_selectedTopLeft.GetCol();
|
wxCoord oldLeft = m_selectedTopLeft.GetCol();
|
||||||
@ -6064,7 +6071,11 @@ void wxGrid::SelectCol( int col, bool addToSelected )
|
|||||||
if ( IsSelection() && addToSelected )
|
if ( IsSelection() && addToSelected )
|
||||||
{
|
{
|
||||||
wxRect rect[4];
|
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;
|
int i;
|
||||||
|
|
||||||
wxCoord oldLeft = m_selectedTopLeft.GetCol();
|
wxCoord oldLeft = m_selectedTopLeft.GetCol();
|
||||||
@ -6166,7 +6177,11 @@ void wxGrid::SelectBlock( int topRow, int leftCol, int bottomRow, int rightCol )
|
|||||||
// Either one rectangle is a real subset of the
|
// Either one rectangle is a real subset of the
|
||||||
// other, or they are (almost) disjoint!
|
// other, or they are (almost) disjoint!
|
||||||
wxRect rect[4];
|
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;
|
int i;
|
||||||
|
|
||||||
// Store intermediate values
|
// Store intermediate values
|
||||||
|
Loading…
Reference in New Issue
Block a user