Update of /cvsroot/mahogany/M/include/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9259/include/gui
Modified Files:
wxMessageView.h
Log Message:
close the message view window if underlying message is deleted (bug 886)
Index: wxMessageView.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxMessageView.h,v
retrieving revision 1.90
retrieving revision 1.91
diff -b -u -2 -r1.90 -r1.91
--- wxMessageView.h 7 Oct 2003 22:48:44 -0000 1.90
+++ wxMessageView.h 8 Apr 2004 18:23:05 -0000 1.91
@@ -63,5 +63,5 @@
/// create the "View" menu for our parent frame
virtual void CreateViewMenu();
-;
+
virtual void OnToggleViewFilter(int id);
virtual void OnSelectViewer(int id);
@@ -89,5 +89,5 @@
// ----------------------------------------------------------------------------
-class wxMessageViewFrame : public wxMFrame
+class wxMessageViewFrame : public wxMFrame, public MEventReceiver
{
public:
@@ -99,9 +99,18 @@
virtual void OnMenuCommand(int id);
+protected:
+ /// handle M events
+ virtual bool OnMEvent(MEventData& event);
+
private:
+ /// the message view shown inside this frame
MessageView *m_MessageView;
+ /// the command processor we forward all our commands to
MsgCmdProc *m_msgCmdProc;
+ /// opaque cookie for the event manager registration
+ void *m_eventAsync;
+
DECLARE_NO_COPY_CLASS(wxMessageViewFrame)
};
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates