]> git.mxchange.org Git - simgear.git/blobdiff - simgear/props/PropertyBasedMgr.cxx
Refactor Canvas and add some helpers.
[simgear.git] / simgear / props / PropertyBasedMgr.cxx
index 893eb34b9f0e59b05a8ee45f805e3edba1ec9fb3..397aa2b6223a94ad81d78c38f4dd7eb382ed70e4 100644 (file)
@@ -12,9 +12,9 @@
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 // Library General Public License for more details.
 //
-// You should have received a copy of the GNU General Public License
-// along with this program; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+// You should have received a copy of the GNU Library General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA
 
 #include "PropertyBasedMgr.hxx"
 
@@ -75,7 +75,7 @@ namespace simgear
       );
 
     PropertyBasedElementPtr el = _element_factory(child);
-    el->_self = el;
+    el->setSelf( el );
     _elements[index] = el;
     elementCreated( el );
   }