// ----------------------------------------------------------------------------
// removes the trailing backslash from the string if it has one
// ----------------------------------------------------------------------------
// removes the trailing backslash from the string if it has one
// returns true if given registry key exists
static bool KeyExists(WXHKEY hRootKey, const wxChar *szKey);
// returns true if given registry key exists
static bool KeyExists(WXHKEY hRootKey, const wxChar *szKey);