]> git.saurik.com Git - wxWidgets.git/commitdiff
Use real id for wxPGCanvas
authorJaakko Salli <jaakko.salli@dnainternet.net>
Tue, 8 Sep 2009 13:57:38 +0000 (13:57 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Tue, 8 Sep 2009 13:57:38 +0000 (13:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/propgrid/propgrid.cpp

index 34aa7d8b2093ed5246db886e4d23e67768818145..fedc84a7c0830f699b8ae7865ba62981333eccc8 100644 (file)
@@ -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 );