Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv11861/src/gui

Modified Files:
        wxMDialogs.cpp 
Log Message:
use Msplash.png instead of bmp/xpm as they were too big

Index: wxMDialogs.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMDialogs.cpp,v
retrieving revision 1.426
retrieving revision 1.427
diff -b -u -2 -r1.426 -r1.427
--- wxMDialogs.cpp      28 May 2006 23:43:16 -0000      1.426
+++ wxMDialogs.cpp      29 May 2006 15:06:38 -0000      1.427
@@ -1046,5 +1046,9 @@
    sp->SplitHorizontally(top, bottom, 240);
 
-   wxMemoryFSHandler::AddFile(_T("splash") MEMORY_FS_FILE_EXT, 
wxBITMAP(Msplash), MEMORY_FS_FILE_FMT);
+   // this file is too big to have it as BMP or XPM, we always use PNG for it
+   wxMemoryFSHandler::AddFile(_T("splash") MEMORY_FS_FILE_EXT,
+                              mApplication->GetIconManager()->
+                                 wxIconManager::GetBitmap(_T("Msplash")),
+                              MEMORY_FS_FILE_FMT);
 
    wxMemoryFSHandler::AddFile(_T("wxlogo") MEMORY_FS_FILE_EXT, 
wxBITMAP(wxlogo), MEMORY_FS_FILE_FMT);



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to