# from Dodger # on Sunday 14 October 2007 18:21: >Okay, I'm attaching a pic to this because I don't know what the thingy >is called. That menu under the icon in Windows on the upper left. The >one with Restore, Maximize, Minimize, all that stuff.
You want to customize the icon or the menu? IIRC, calling the SetIcon() method on the frame object with a Wx::Icon object is the way to do that. Note that SetIcon() is inherited from wxTopLevelWindow. As for the menu, I think that's called the 'system menu' and I don't think you can modify it (except possibly to turn it on and off.) For discovering this sort of stuff in general, start with the following page (or get a local copy of it), look at the SetFoo() methods under the class of the thing you have (wxFrame in this case) and then for the "inherits from" classes. http://wxwidgets.org/manuals/stable/wx_classref.html But don't be afraid to ask if something doesn't make sense, because sometimes the answer is simply that it doesn't make sense :-D It all depends on whether you're doing something that the wx devs have thought of and found a good way to support -- and (though not so much anymore) occasionally whether it is actually implemented in the perl binding. And sometimes it's just a matter of having the right terminology. --Eric -- So malloc calls a timeout and starts rummaging around the free chain, sorting things out, and merging adjacent small free blocks into larger blocks. This takes 3 1/2 days. --Joel Spolsky --------------------------------------------------- http://scratchcomputing.com ---------------------------------------------------
