<wx/apptrait.h>
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
\wxheading{See also}
\helpref{wxApp overview}{wxappoverview}, \helpref{wxApp}{wxapp}
\latexignore{\rtfignore{\wxheading{Members}}}
+\membersection{wxAppTraits::CreateConfig}\label{wxapptraitscreateconfig}
+
+\func{virtual wxConfigBase *}{CreateConfig}{\void}
+
+Called by wxWidgets to create the default configuration object for the
+application. The default version creates a registry-based
+\helpref{wxRegConfig}{wxconfigbase} class under MSW and
+\helpref{wxFileConfig}{wxfileconfig} under all other platforms. The
+\helpref{wxApp}{wxapp} \helpref{GetAppName()}{wxappgetappname} and
+\helpref{GetVendorName()}{wxappgetvendorname} methods are used to determine the
+registry key or file name.
+
+
\membersection{wxAppTraits::CreateFontMapper}\label{wxapptraitscreatefontmapper}
\func{virtual wxFontMapper *}{CreateFontMapper}{\void}
NOTE: returned pointer will be deleted by the caller.
+\membersection{wxAppTraits::GetDesktopEnvironment}\label{wxapptraitsgetdesktopenvironment}
+
+\constfunc{virtual wxString}{GetDesktopEnvironment}{\void}
+
+This method returns the name of the desktop environment currently
+running in a Unix desktop. Currently only "KDE" or "GNOME" are
+supported and the code uses the X11 session protocol vendor name
+to figure out, which desktop environment is running. The method
+returns an empty string otherwise and on all other platforms.
\membersection{wxAppTraits::GetStandardPaths}\label{wxapptraitsgetstandardpaths}
Returns the wxWidgets port ID used by the running program and eventually
fills the given pointers with the values of the major and minor digits
of the native toolkit currently used.
+The version numbers returned are thus detected at run-time and not compile-time
+(except when this is not possible e.g. wxMotif).
E.g. if your program is using wxGTK port this function will return wxPORT\_GTK and
put in given pointers the versions of the GTK library in use.
the string to stderr in console mode.
Returns \true to suppress subsequent asserts, \false to continue as before.
+