(self, tObj)
Replace the current topic description with a new one
Replace the current topic description with a new one
Replace the current topic description with a new one
def SetTopicDescription(self, tObj):
        """Replace the current topic description with a new one"""
        tdp = TopicDescriptionPanel(self, tObj)
        sizer = self.GetSizer()
        sizer.Detach(self.tdp)
        self.tdp.Destroy()
        sizer.Add(tdp, 0, wx.EXPAND | wx.ALL, 3)
        self.tdp = tdp
        self.Layout()
        self.Refresh()
def SetTopicDescription ( self , tObj ) : tdp = TopicDescriptionPanel ( self , tObj ) sizer = self . GetSizer ( ) sizer . Detach ( self . tdp ) self . tdp . Destroy ( ) sizer . Add ( tdp , 0 , wx . EXPAND | wx . ALL , 3 ) self . tdp = tdp self . Layout ( ) self . Refresh ( )