]> git.saurik.com Git - wxWidgets.git/blobdiff - src/propgrid/property.cpp
move evthandler.cpp to non-GUI test as it doesn't require the GUI
[wxWidgets.git] / src / propgrid / property.cpp
index 05a46fdb0dc05c2bb8b83c433e3967e2a00391dd..dc3d8fc346065e171ef0310b806f6c2024617003 100644 (file)
@@ -2430,11 +2430,14 @@ WX_PG_IMPLEMENT_PROPERTY_CLASS_PLAIN(wxPGRootProperty,none,TextCtrl)
 IMPLEMENT_DYNAMIC_CLASS(wxPGRootProperty, wxPGProperty)
 
 
-wxPGRootProperty::wxPGRootProperty()
+wxPGRootProperty::wxPGRootProperty( const wxString& name )
     : wxPGProperty()
 {
 #ifdef __WXDEBUG__
-    m_name = wxS("<root>");
+    m_name = name;
+    m_label = m_name;
+#else
+    wxUnusedVar(name);
 #endif
     SetParentalType(0);
     m_depth = 0;