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FybmluZyAmIEludGVyYWN0aXZlDQpSb29tIDI1MDcgV2hpdGUgQ2l0eSwgTG9u ZG9uIFcxMiA3VFMNCis0NCAoMCkgMjAgODc1MiA0NTYxDQptYXR0aGV3LndpbHNvbkBiYmMuY28u dWsNCg0KaHR0cDovL3d3dy5iYmMuY28udWsvDQpUaGlzIGUtbWFpbCAoYW5kIGFueSBhdHRhY2ht ZW50cykgaXMgY29uZmlkZW50aWFsIGFuZCBtYXkgY29udGFpbiBwZXJzb25hbCB2aWV3cyB3aGlj aCBhcmUgbm90IHRoZSB2aWV3cyBvZiB0aGUgQkJDIHVubGVzcyBzcGVjaWZpY2FsbHkgc3RhdGVk Lg0KSWYgeW91IGhhdmUgcmVjZWl2ZWQgaXQgaW4gZXJyb3IsIHBsZWFzZSBkZWxldGUgaXQgZnJv bSB5b3VyIHN5c3RlbS4NCkRvIG5vdCB1c2UsIGNvcHkgb3IgZGlzY2xvc2UgdGhlIGluZm9ybWF0 aW9uIGluIGFueSB3YXkgbm9yIGFjdCBpbiByZWxpYW5jZSBvbiBpdCBhbmQgbm90aWZ5IHRoZSBz ZW5kZXIgaW1tZWRpYXRlbHkuDQpQbGVhc2Ugbm90ZSB0aGF0IHRoZSBCQkMgbW9uaXRvcnMgZS1t YWlscyBzZW50IG9yIHJlY2VpdmVkLg0KRnVydGhlciBjb21tdW5pY2F0aW9uIHdpbGwgc2lnbmlm eSB5b3VyIGNvbnNlbnQgdG8gdGhpcy4NCgkJCQkJDQo= |
From: Mark D. <mar...@zn...> - 2007-04-05 13:34:39
Attachments:
events.diff
|
Hi, I don't think it was ever wrapped. The attached diff against Wx-0.72 wraps a couple of wxMSW specific events: EVT_TREE_ITEM_GETTOOLTIP EVT_TREE_STATE_IMAGE_CLICK It also wraps EVT_MAXIMIZE I put the TreeEvent macros in Constant.xs as that seemed the best place to check for wxMSW. I put EVT_MAXIMIZE in Event.pm as I thought it ought to be with EVT_ICONIZE. Regards Mark Matthew Wilson wrote: > Hi all, > > I've been doing some work with wxperl recently - my first adventure into the world of Wx - and came about an issue where tooltips for a wxTreeCtrl are required. The API documentation (http://www.wxwindows.org/manuals/2.8.0/wx_wxtreectrl.html) mentions the use of EVT_TREE_ITEM_GETTOOLTIP and wxTreeEvent::SetToolTip to set the tooltip for individual tree items. However, when I tried to use EVT_TREE_ITEM_GETTOOLTIP it's nowhere to be found in wxperl - I've grepped the source tree of Wx-0.67 and it's just not there (but it is in the wxWidgets-2.8.0 source tree). So my question is simple - has it been replaced with another method of setting tree item tooltips, or was it just left out? > > Cheers, > > Matt > > -- > Software Engineer, BBC Learning & Interactive > Room 2507 White City, London W12 7TS > +44 (0) 20 8752 4561 > mat...@bb... > > http://www.bbc.co.uk/ > This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. > Please note that the BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |
From: Mattia B. <mat...@li...> - 2007-04-11 17:20:58
|
On Thu, 05 Apr 2007 14:34:23 +0100 Mark Dootson <mar...@zn...> wrote: Hi, > I don't think it was ever wrapped. > > The attached diff against Wx-0.72 wraps a couple of wxMSW specific events: > > EVT_TREE_ITEM_GETTOOLTIP > EVT_TREE_STATE_IMAGE_CLICK > > It also wraps EVT_MAXIMIZE > > I put the TreeEvent macros in Constant.xs as that seemed the best place to check for wxMSW. > > I put EVT_MAXIMIZE in Event.pm as I thought it ought to be with EVT_ICONIZE. I agree, so I put both in Constant.xs ;-) apart from that thanks, applied! Regards Mattia |