$OpenBSD: patch-src_rapidsvn_app_cpp,v 1.1 2019/01/02 12:44:06 jca Exp $

wxwidgets: wxOPEN was deprecated, use wxFD_OPEN

Index: src/rapidsvn_app.cpp
--- src/rapidsvn_app.cpp.orig
+++ src/rapidsvn_app.cpp
@@ -195,7 +195,7 @@ RapidSvnApp::LocateHelp()
   // TODO: Hmmm - I haven't called Initialise yet, but AddBook seems to work directly...
   while (!m_helpController->AddBook(wxFileName(helpfile)))
   {
-    wxFileDialog dlg(NULL, _("Locate help"), appPath, wxEmptyString, wxT("*.htb"), wxOPEN | wxFILE_MUST_EXIST);
+    wxFileDialog dlg(NULL, _("Locate help"), appPath, wxEmptyString, wxT("*.htb"), wxFD_OPEN | wxFD_FILE_MUST_EXIST);
     if (dlg.ShowModal() == wxID_OK)
     {
       helpfile = dlg.GetPath();
@@ -255,7 +255,7 @@ RapidSvnApp::MakeTipProvider(bool force)
 
                                               while (!wxFileName(tipsfile).FileExists() || (tipProvider = wxCreateFileTipProvider(tipsfile, tipIndex)) == NULL)
   {
-    wxFileDialog dlg(NULL, _("Locate tips file"), appPath, wxEmptyString, wxT("*.txt"), wxOPEN | wxFILE_MUST_EXIST);
+    wxFileDialog dlg(NULL, _("Locate tips file"), appPath, wxEmptyString, wxT("*.txt"), wxFD_OPEN | wxFD_FILE_MUST_EXIST);
     if (dlg.ShowModal() == wxID_OK)
     {
       tipsfile = dlg.GetPath();
