Make sure grid elements have no borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3418,7 +3418,7 @@ END_EVENT_TABLE()
|
|||||||
wxGridRowLabelWindow::wxGridRowLabelWindow( wxGrid *parent,
|
wxGridRowLabelWindow::wxGridRowLabelWindow( wxGrid *parent,
|
||||||
wxWindowID id,
|
wxWindowID id,
|
||||||
const wxPoint &pos, const wxSize &size )
|
const wxPoint &pos, const wxSize &size )
|
||||||
: wxWindow( parent, id, pos, size, wxWANTS_CHARS )
|
: wxWindow( parent, id, pos, size, wxWANTS_CHARS|wxBORDER_NONE )
|
||||||
{
|
{
|
||||||
m_owner = parent;
|
m_owner = parent;
|
||||||
}
|
}
|
||||||
@@ -3484,7 +3484,7 @@ END_EVENT_TABLE()
|
|||||||
wxGridColLabelWindow::wxGridColLabelWindow( wxGrid *parent,
|
wxGridColLabelWindow::wxGridColLabelWindow( wxGrid *parent,
|
||||||
wxWindowID id,
|
wxWindowID id,
|
||||||
const wxPoint &pos, const wxSize &size )
|
const wxPoint &pos, const wxSize &size )
|
||||||
: wxWindow( parent, id, pos, size, wxWANTS_CHARS )
|
: wxWindow( parent, id, pos, size, wxWANTS_CHARS|wxBORDER_NONE )
|
||||||
{
|
{
|
||||||
m_owner = parent;
|
m_owner = parent;
|
||||||
}
|
}
|
||||||
@@ -3549,7 +3549,7 @@ END_EVENT_TABLE()
|
|||||||
wxGridCornerLabelWindow::wxGridCornerLabelWindow( wxGrid *parent,
|
wxGridCornerLabelWindow::wxGridCornerLabelWindow( wxGrid *parent,
|
||||||
wxWindowID id,
|
wxWindowID id,
|
||||||
const wxPoint &pos, const wxSize &size )
|
const wxPoint &pos, const wxSize &size )
|
||||||
: wxWindow( parent, id, pos, size, wxWANTS_CHARS )
|
: wxWindow( parent, id, pos, size, wxWANTS_CHARS|wxBORDER_NONE )
|
||||||
{
|
{
|
||||||
m_owner = parent;
|
m_owner = parent;
|
||||||
}
|
}
|
||||||
@@ -3615,7 +3615,7 @@ wxGridWindow::wxGridWindow( wxGrid *parent,
|
|||||||
wxGridRowLabelWindow *rowLblWin,
|
wxGridRowLabelWindow *rowLblWin,
|
||||||
wxGridColLabelWindow *colLblWin,
|
wxGridColLabelWindow *colLblWin,
|
||||||
wxWindowID id, const wxPoint &pos, const wxSize &size )
|
wxWindowID id, const wxPoint &pos, const wxSize &size )
|
||||||
: wxWindow( parent, id, pos, size, wxWANTS_CHARS, wxT("grid window") )
|
: wxWindow( parent, id, pos, size, wxWANTS_CHARS|wxBORDER_NONE, wxT("grid window") )
|
||||||
{
|
{
|
||||||
m_owner = parent;
|
m_owner = parent;
|
||||||
m_rowLabelWin = rowLblWin;
|
m_rowLabelWin = rowLblWin;
|
||||||
|
Reference in New Issue
Block a user