wxMac: The dot in the red circle in document windows
Vadim Zeitlin
vadim at wxwidgets.org
Mon Jul 2 06:49:55 PDT 2007
On Mon, 2 Jul 2007 15:32:58 +0200 Vaclav Slavik <vslavik at fastmail.fm> wrote:
VS> Vadim Zeitlin wrote:
VS> > ?So what about defining a mix-in which could be inherited from and
VS> > initialized with the associated wxWindow to reflect the document
VS> > properties in this window?
VS>
VS> I think this is a bit over-complicated. This is standard Mac feature,
So maybe it will appear in MDI children windows too in the next Windows
version :-)
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.
VS> It could be implemented on other platforms as well, using the commonly
VS> used "*" marker for example.
Yes, implementing this on the other platforms by appending something to
the title is a good idea too, thanks,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list