wxMac: The dot in the red circle in document windows

Stefan Csomor csomor at advancedconcepts.ch
Mon Jul 2 07:21:12 PDT 2007


Hi

> VS> so I'd say it should be supported as wxFrame (doesn't make much
> sense
> VS> for wxDialog, so why wxTLW?) method.
>
>  Good point about wxFrame rather than wxTLW, thanks. But IMHO it
> would be
> somewhat better to have this in a separate class and not in wxFrame
> itself
> as it doesn't make sense for the frames which are not used to display
> the
> documents. But this is unfortunately not as simple as just adding
> wxDocumentFrame as this wouldn't work in wxMDIChildFrame (which
> derives
> from wxFrame). So if we want to
>
> 1. keep these document-specific methods in a separate class
> 2. be able to use them in MDI child frames
>
> then the mix-in solution is necessary. But if nobody except me feels
> strongly about (1) then we should indeed just add these methods to
> wxFrame.

and to interpose wxDocumentFrame between wxFrame and wxMDIChildFrame ?

Best,

Stefan




More information about the wx-users mailing list