Use real id for wxPGCanvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3316192f0d
commit
b3cec67186
@ -559,7 +559,7 @@ void wxPropertyGrid::Init2()
|
||||
m_timeCreated = ::wxGetLocalTimeMillis();
|
||||
|
||||
m_canvas = new wxPGCanvas();
|
||||
m_canvas->Create(this, 1, wxPoint(0, 0), GetClientSize(),
|
||||
m_canvas->Create(this, wxID_ANY, wxPoint(0, 0), GetClientSize(),
|
||||
wxWANTS_CHARS | wxCLIP_CHILDREN);
|
||||
m_canvas->SetBackgroundStyle( wxBG_STYLE_CUSTOM );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user