summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog/CMakeSetupDialog.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2000-11-03 21:37:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2000-11-03 21:37:53 (GMT)
commitf76a992ff97c53a71b4db62f7cd84e809cb1ff22 (patch)
treeba1fd11ba544e637bf8d5e2b563c52b7e2f97194 /Source/MFCDialog/CMakeSetupDialog.h
parent0798a177ea2c2989d9b98e390a375f98288e6f0b (diff)
downloadCMake-f76a992ff97c53a71b4db62f7cd84e809cb1ff22.zip
CMake-f76a992ff97c53a71b4db62f7cd84e809cb1ff22.tar.gz
CMake-f76a992ff97c53a71b4db62f7cd84e809cb1ff22.tar.bz2
ENH: add ability to run from different directories
Diffstat (limited to 'Source/MFCDialog/CMakeSetupDialog.h')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.h b/Source/MFCDialog/CMakeSetupDialog.h
index 37d9ae0..1989234 100644
--- a/Source/MFCDialog/CMakeSetupDialog.h
+++ b/Source/MFCDialog/CMakeSetupDialog.h
@@ -22,8 +22,8 @@ protected:
void LoadFromRegistry();
void ReadRegistryValue(HKEY hKey,
CString *val,
- char *key,
- char *adefault);
+ const char *key,
+ const char *aadefault);
// Dialog Data
//{{AFX_DATA(CMakeSetupDialog)
enum { IDD = IDD_CMakeSetupDialog_DIALOG };
@@ -40,7 +40,7 @@ protected:
// Implementation
protected:
HICON m_hIcon;
-
+ CString m_RegistryKey;
// Generated message map functions
//{{AFX_MSG(CMakeSetupDialog)
virtual BOOL OnInitDialog();