]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/helpview/src/helpview.cpp
Unselect all wxDataViewCtrl items when clicking outside of the item area.
[wxWidgets.git] / utils / helpview / src / helpview.cpp
index c774b628fac5ccdd546df6f6bc8c98be9c04de50..ecd2a732f0800963c6d72985f5d78f6785998816 100644 (file)
@@ -279,10 +279,10 @@ bool hvApp::OpenBook(wxHtmlHelpController* controller)
 
 #ifdef __WXMAC__
 /// Respond to Apple Event for opening a document
 
 #ifdef __WXMAC__
 /// Respond to Apple Event for opening a document
-void hvApp::MacOpenFile(const wxString& filename)
+void hvApp::MacOpenFiles(const wxArrayString& fileNames)
 {
     wxBusyCursor bcur;
 {
     wxBusyCursor bcur;
-    wxFileName fileName(filename);
+    wxFileName fileName(fileNames[0]);
     m_helpController->AddBook(fileName);
     m_helpController->DisplayContents();
 }
     m_helpController->AddBook(fileName);
     m_helpController->DisplayContents();
 }