#define DEFAULT_XRESOURCE_DIR "/usr/lib/X11/app-defaults"
#endif
+#if wxUSE_RESOURCES
static char *GetIniFile (char *dest, const char *filename);
+#endif
// ============================================================================
// implementation
// Reading and writing resources (eg WIN.INI, .Xdefaults)
// ----------------------------------------------------------------------------
+#if wxUSE_RESOURCES
+
// Read $HOME for what it says is home, if not
// read $USER or $LOGNAME for user name else determine
// the Real User, then determine the Real home dir.
return dest;
}
-#if wxUSE_RESOURCES
-
static char *GetResourcePath(char *buf, const char *name, bool create = FALSE)
{
if (create && wxFileExists (name) ) {