Fix some wxMotif build warnings about deprecated methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -81,7 +81,9 @@
|
||||
#define DEFAULT_XRESOURCE_DIR "/usr/lib/X11/app-defaults"
|
||||
#endif
|
||||
|
||||
#if wxUSE_RESOURCES
|
||||
static char *GetIniFile (char *dest, const char *filename);
|
||||
#endif
|
||||
|
||||
// ============================================================================
|
||||
// implementation
|
||||
@@ -226,6 +228,8 @@ int wxGetOsVersion(int *majorVsn, int *minorVsn)
|
||||
// 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.
|
||||
@@ -256,8 +260,6 @@ static char * GetIniFile (char *dest, const char *filename)
|
||||
return dest;
|
||||
}
|
||||
|
||||
#if wxUSE_RESOURCES
|
||||
|
||||
static char *GetResourcePath(char *buf, const char *name, bool create = FALSE)
|
||||
{
|
||||
if (create && wxFileExists (name) ) {
|
||||
|
Reference in New Issue
Block a user