wxMac: The dot in the red circle in document windows
Vadim Zeitlin
vadim at wxwidgets.org
Mon Jul 2 05:34:46 PDT 2007
On Mon, 2 Jul 2007 13:47:15 +0200 Stefan Csomor <csomor at advancedconcepts.ch> wrote:
SC> there are two related attributes with a document that should be
SC> supported, and the question really is where to put them in the
SC> hierarchy, one is the modified dot, the other one is the filepath of
SC> the document, allowing things like document drag/drop and folder path
SC> popup when command-clicking on the window title.
If there are already 2 of them (and possibly more later?) then I'd prefer
to have them somewhere else than in wxTLW. Ideally we'd have a new
wxDocumentWindow class which would derive from wxTLW and add the document-
specific stuff, such as those properties. But this probably won't play nice
with MDI documents under MSW.
So what about defining a mix-in which could be inherited from and
initialized with the associated wxWindow to reflect the document properties
in this window?
Thanks,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list