]> git.saurik.com Git - wxWidgets.git/commit
Add non-template wxWeakRef<T> constructor from T*.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 10 Apr 2010 18:13:29 +0000 (18:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 10 Apr 2010 18:13:29 +0000 (18:13 +0000)
commit43aecc4dd77cf2ee596ada72448f5ca3e8011afe
treea7e90e04dca688c876a35594460e34f73f60d489
parentfc4e23d7c1cb43cd29648dd0b8d72770e2da1176
Add non-template wxWeakRef<T> constructor from T*.

We need a non-template ctor to make the code initializing wxWeakRef with
literal NULL to compile.

Closes #11916.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/weakref.h
tests/weakref/weakref.cpp