Revision: 7457
          http://mahogany.svn.sourceforge.net/mahogany/?rev=7457&view=rev
Author:   vadz
Date:     2008-05-03 11:36:54 -0700 (Sat, 03 May 2008)

Log Message:
-----------
use wxHelpController::SetViewer() instead of deprecated SetBrowser()

Modified Paths:
--------------
    trunk/M/src/gui/wxMApp.cpp

Modified: trunk/M/src/gui/wxMApp.cpp
===================================================================
--- trunk/M/src/gui/wxMApp.cpp  2008-05-03 15:02:17 UTC (rev 7456)
+++ trunk/M/src/gui/wxMApp.cpp  2008-05-03 18:36:54 UTC (rev 7457)
@@ -1580,9 +1580,10 @@
 #ifdef OS_UNIX
    if ( helpBrowserIsExternal )
    {
-      ((wxExtHelpController *)m_HelpController)->SetBrowser(
-         READ_APPCONFIG(MP_HELPBROWSER),
-         READ_APPCONFIG(MP_HELPBROWSER_ISNS));
+      long flags = 0;
+      if ( READ_APPCONFIG(MP_HELPBROWSER_ISNS) )
+         flags |= wxHELP_NETSCAPE;
+      m_HelpController->SetViewer(READ_APPCONFIG(MP_HELPBROWSER), flags);
    }
 #endif // OS_UNIX
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to