summaryrefslogtreecommitdiffstats
path: root/Source/WXDialog
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-10 12:11:37 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-10 12:11:37 (GMT)
commitf6a1218e102373bd945cd58c9d01d0200bcb3a54 (patch)
treead47f5f0a8c7422994f81be24801b4ba26f49d83 /Source/WXDialog
parent089429fee9142fce0890801235fd2f5d1fc3275d (diff)
downloadCMake-f6a1218e102373bd945cd58c9d01d0200bcb3a54.zip
CMake-f6a1218e102373bd945cd58c9d01d0200bcb3a54.tar.gz
CMake-f6a1218e102373bd945cd58c9d01d0200bcb3a54.tar.bz2
Remove warning
Diffstat (limited to 'Source/WXDialog')
-rw-r--r--Source/WXDialog/cmWXMainFrame.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/WXDialog/cmWXMainFrame.cxx b/Source/WXDialog/cmWXMainFrame.cxx
index f163f45..b3db5be 100644
--- a/Source/WXDialog/cmWXMainFrame.cxx
+++ b/Source/WXDialog/cmWXMainFrame.cxx
@@ -521,7 +521,7 @@ void cmMainFrame::ResizeInternal()
}
void cmMainFrame::OnBrowseSource(wxCommandEvent&)
-{
+{
std::string path = this->m_PathSource->GetValue().c_str();
if ( path == "PathSource" )
{
@@ -1193,7 +1193,7 @@ void cmMainFrame::ClearCache()
}
-void cmMainFrame::OnBinaryAccepted(wxCommandEvent& event)
+void cmMainFrame::OnBinaryAccepted(wxCommandEvent&)
{
std::cout << "Pressed enter in binary field" << std::endl;
}
@@ -1308,14 +1308,11 @@ void cmMainFrame::LoadFromRegistry()
}
}
}
-
delete conf;
-
}
void cmMainFrame::SaveToRegistry()
{
-
//wxConfigBase *conf = (wxConfigBase*) wxConfigBase::Get();//new wxConfig("CMakeSetup");
wxConfig *conf = new wxConfig("CMakeSetup");
conf->SetPath("Settings/StartPath");