Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv12722/src/gui
Modified Files:
wxMApp.cpp
Log Message:
force linking of inet FS handler into the program
Index: wxMApp.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMApp.cpp,v
retrieving revision 1.236
retrieving revision 1.237
diff -b -u -2 -r1.236 -r1.237
--- wxMApp.cpp 27 Apr 2002 22:40:56 -0000 1.236
+++ wxMApp.cpp 30 Apr 2002 09:51:44 -0000 1.237
@@ -48,4 +48,5 @@
#include <wx/statusbr.h>
#include <wx/fs_mem.h>
+#include <wx/fs_inet.h>
#include <wx/cmdline.h>
@@ -880,4 +881,8 @@
wxInitAllImageHandlers();
wxFileSystem::AddHandler(new wxMemoryFSHandler);
+
+ // we need to reference wxInternetFSHandler or it might not be linked into
+ // the program at all when linking statically!
+ { wxInternetFSHandler inetfsh; }
// this is necessary to avoid that the app closes automatically when we're
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates