Ensure grid components don't have borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3462,7 +3462,7 @@ END_EVENT_TABLE()
|
||||
wxGridRowLabelWindow::wxGridRowLabelWindow( wxGrid *parent,
|
||||
wxWindowID id,
|
||||
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;
|
||||
}
|
||||
@@ -3528,7 +3528,7 @@ END_EVENT_TABLE()
|
||||
wxGridColLabelWindow::wxGridColLabelWindow( wxGrid *parent,
|
||||
wxWindowID id,
|
||||
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;
|
||||
}
|
||||
@@ -3593,7 +3593,7 @@ END_EVENT_TABLE()
|
||||
wxGridCornerLabelWindow::wxGridCornerLabelWindow( wxGrid *parent,
|
||||
wxWindowID id,
|
||||
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;
|
||||
}
|
||||
@@ -3663,7 +3663,7 @@ wxGridWindow::wxGridWindow( wxGrid *parent,
|
||||
wxWindowID id,
|
||||
const wxPoint &pos,
|
||||
const wxSize &size )
|
||||
: wxWindow( parent, id, pos, size, wxWANTS_CHARS | wxCLIP_CHILDREN,
|
||||
: wxWindow( parent, id, pos, size, wxWANTS_CHARS | wxBORDER_NONE | wxCLIP_CHILDREN,
|
||||
wxT("grid window") )
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user