Update of /cvsroot/mahogany/M/src/modules
In directory sc8-pr-cvs1:/tmp/cvs-serv9730/src/modules
Modified Files:
TextViewer.cpp
Log Message:
Gcc compilation fix
Index: TextViewer.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/TextViewer.cpp,v
retrieving revision 1.49
retrieving revision 1.50
diff -b -u -2 -r1.49 -r1.50
--- TextViewer.cpp 2 Oct 2003 22:54:26 -0000 1.49
+++ TextViewer.cpp 3 Oct 2003 15:32:09 -0000 1.50
@@ -23,4 +23,6 @@
#ifndef USE_PCH
# include "Mcommon.h"
+# include "guidef.h" // for GetFrame
+# include "gui/wxMApp.h" // for wxMApp
# include <wx/textctrl.h>
@@ -57,5 +59,5 @@
public:
wxTextEasyPrinting(const wxString& name, wxWindow *parent = NULL)
- : wxHtmlEasyPrinting(name, parent) { }
+ : wxHtmlEasyPrinting(name, GetFrame(parent)) { }
bool Print(wxTextCtrl *text) { return PrintText(ControlToHtml(text)); }
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates