Ticket #39787: patch-pgadmin-pgAdmin3.cpp.diff

File patch-pgadmin-pgAdmin3.cpp.diff, 447 bytes (added by mojca (Mojca Miklavec), 11 years ago)

A patch for the wxStandardPathsCF compile error

  • pgadmin/pgAdmin3.cpp

    old new wxString pgAdmin3::LocatePath(const wxString &pathToFind, const bool isFile) 
    13041304        // When using wxStandardPaths on OSX, wx default to the unix,
    13051305        // not to the mac variants. Therefore, we request wxStandardPathsCF
    13061306        // directly.
    1307         wxStandardPathsCF stdPaths ;
     1307        wxStandardPaths stdPaths = wxStandardPaths::Get();
    13081308        dataDir = stdPaths.GetDataDir() ;
    13091309
    13101310#else // other *ixes