On Mon, 20 Oct 2003 14:25:24 -0400 (EDT) Richard Welty <[EMAIL PROTECTED]> wrote:
RW> if i need a dialog resembling but not the same as, say, RW> wxFolderFiltersDialog (to allow the user to pick an arbitrary set of RW> filters to apply to a selected set of messages), do i just cut-and-paste No, please, anything but not this. Duplicated code is [much] worse than no code at all. RW> and develope my new dialog, or is there some standard for reusability? If you can't use the existing dialog, extract the part of it which you can use in a base class and derive the existing class and your new dialog from it. It may be a bit more work now than cut-and-pasting but it's a huge saving globally. RW> (i know the answer in java land, but this ain't java land...) I suspect it is the same... I even suspect it is also the same in all other languages, C and assembler included. Regards, VZ ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers