return wxStandardPaths, not wxStandardPathsBase, from wxStandardPathsBase::Get() to allow calling platform-specific methods on it if necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
#include "wx/string.h"
|
||||
#include "wx/filefn.h"
|
||||
|
||||
class WXDLLIMPEXP_FWD_BASE wxStandardPaths;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxStandardPaths returns the standard locations in the file system
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -50,7 +52,7 @@ public:
|
||||
|
||||
|
||||
// return the global standard paths object
|
||||
static wxStandardPathsBase& Get();
|
||||
static wxStandardPaths& Get();
|
||||
|
||||
// return the path (directory+filename) of the running executable or
|
||||
// wxEmptyString if it couldn't be determined.
|
||||
|
Reference in New Issue
Block a user