git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16231
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
self.tc.AppendText(message + '\n')
+class MyTP(wxPyTipProvider):
+ def GetTip(self):
+ return "This is my tip"
+
#---------------------------------------------------------------------------
def opj(path):
showTip, index = (1, 0)
if showTip:
tp = wxCreateFileTipProvider(opj("data/tips.txt"), index)
+ ##tp = MyTP(0)
showTip = wxShowTip(self, tp)
index = tp.GetCurrentTip()
open(opj("data/showTips"), "w").write(str( (showTip, index) ))