git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16725
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
# instance, then you can make the handle much simpler. I'll
# show both methods below.
# instance, then you can make the handle much simpler. I'll
# show both methods below.
# The simple method assumes that there is no existing
# instance. Be sure of that with an assert.
assert self.GetInstance() is None
# The simple method assumes that there is no existing
# instance. Be sure of that with an assert.
assert self.GetInstance() is None