]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/helpext.cpp
Added 'tardist' script for creating .tgz archives of wxWin; cured wxExecute
[wxWidgets.git] / src / generic / helpext.cpp
index 80e91ebdc4864ae4efcfcf748105ec6247f00c58..c2a7f14224c6c8a1334b4b63a25cbf0e7502ecaf 100644 (file)
@@ -50,6 +50,12 @@ wxExtHelpController::SetBrowser(wxString const & browsername, bool isNetscape)
    m_BrowserIsNetscape = isNetscape;
 }
 
+// Set viewer: new, generic name for SetBrowser
+void wxExtHelpController::SetViewer(const wxString& viewer, long flags)
+{
+    SetBrowser(viewer, ((flags & wxHELP_NETSCAPE) == wxHELP_NETSCAPE));
+}
+
 bool
 wxExtHelpController::DisplayHelp(wxString const &relativeURL)
 {