parameters: (self, event)
docstring: Handles the ``wx.EVT_WINDOW_DESTROY`` event for :class:`FloatTextCtrl`.
  
          :param `event`: a :class:`WindowDestroyEvent` event to be processed.
  
          :note: This method tries to correctly handle the control destruction under MSW.
docstring_summary: Handles the ``wx.EVT_WINDOW_DESTROY`` event for :class:`FloatTextCtrl`.
docstring_tokens: Handles the wx . EVT_WINDOW_DESTROY event for : class : FloatTextCtrl .
function: def OnDestroy(self, event):
          """
          Handles the ``wx.EVT_WINDOW_DESTROY`` event for :class:`FloatTextCtrl`.
  
          :param `event`: a :class:`WindowDestroyEvent` event to be processed.
  
          :note: This method tries to correctly handle the control destruction under MSW.
          """
  
          if self._parent:
              self._parent._textctrl = None
              self._parent = None
function_tokens: def OnDestroy ( self , event ) : if self . _parent : self . _parent . _textctrl = None self . _parent = None