X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4055ed8281971e3d35bf04177193c27043d42ed1..eba99da4c0563e6508761272a1e1f1b791d0af6b:/include/wx/apptrait.h?ds=sidebyside diff --git a/include/wx/apptrait.h b/include/wx/apptrait.h index 6ef915d9b1..10e4d6b8dc 100644 --- a/include/wx/apptrait.h +++ b/include/wx/apptrait.h @@ -54,6 +54,9 @@ class WXDLLIMPEXP_BASE wxStandardPathsBase; class WXDLLIMPEXP_BASE wxAppTraitsBase { public: + // needed since this class declares virtual members + virtual ~wxAppTraitsBase() { } + // hooks for creating the global objects, may be overridden by the user // ------------------------------------------------------------------------ @@ -77,11 +80,11 @@ public: // NB: returned pointer will be deleted by the caller virtual wxRendererNative *CreateRenderer() = 0; +#if wxUSE_STDPATHS // wxStandardPaths object is normally the same for wxBase and wxGUI // except in the case of wxMac and wxCocoa -#ifndef __WXPALMOS__ virtual wxStandardPathsBase& GetStandardPaths(); -#endif +#endif // wxUSE_STDPATHS // functions abstracting differences between GUI and console modes // ------------------------------------------------------------------------