diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-23 17:32:14 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-23 17:32:14 (GMT) |
commit | 48fe81acdd94ace2a03e76c6d55eba9993571964 (patch) | |
tree | 079da02c531c82b5fce4f49bd29714881b755314 /Source/WXDialog | |
parent | 5843ae455e86be59425910f510d211a9cf8a2eeb (diff) | |
download | CMake-48fe81acdd94ace2a03e76c6d55eba9993571964.zip CMake-48fe81acdd94ace2a03e76c6d55eba9993571964.tar.gz CMake-48fe81acdd94ace2a03e76c6d55eba9993571964.tar.bz2 |
Try to remove some warnings
Diffstat (limited to 'Source/WXDialog')
-rw-r--r-- | Source/WXDialog/cmWXCommandLineInfo.cxx | 2 | ||||
-rw-r--r-- | Source/WXDialog/cmWXMainFrame.cxx | 5 | ||||
-rw-r--r-- | Source/WXDialog/wxCMakeSetup.cxx | 4 |
3 files changed, 4 insertions, 7 deletions
diff --git a/Source/WXDialog/cmWXCommandLineInfo.cxx b/Source/WXDialog/cmWXCommandLineInfo.cxx index ffe83cb..7cf74e0 100644 --- a/Source/WXDialog/cmWXCommandLineInfo.cxx +++ b/Source/WXDialog/cmWXCommandLineInfo.cxx @@ -87,7 +87,7 @@ int cmCommandLineInfo::GetBoolValue(const std::string& v) { // Parse param void cmCommandLineInfo::ParseParam(const std::string& parameter, - bool know_about, bool last) + bool know_about, bool /*last*/) { if(!know_about) { diff --git a/Source/WXDialog/cmWXMainFrame.cxx b/Source/WXDialog/cmWXMainFrame.cxx index efe0609..cf903ca 100644 --- a/Source/WXDialog/cmWXMainFrame.cxx +++ b/Source/WXDialog/cmWXMainFrame.cxx @@ -500,7 +500,7 @@ void cmMainFrame::OnResize(wxSizeEvent& event) this->ResizeInternal(); } -void cmMainFrame::OnExitTimer(wxEvent& event) +void cmMainFrame::OnExitTimer(wxEvent&) { this->Close(); this->Refresh(); @@ -1045,9 +1045,6 @@ void cmMainFrame::UpdateCacheValuesDisplay() // Fix size int sx, sy; - int total = max * count + 4; - wxSize sizersize = this->m_CacheValuesSizer->GetSize(); - this->m_CacheValuesScroll->GetClientSize(&sx, &sy); wxSize size2 = this->m_CacheValuesPanel->GetSize(); sy = size2.GetHeight(); diff --git a/Source/WXDialog/wxCMakeSetup.cxx b/Source/WXDialog/wxCMakeSetup.cxx index d6bd37b..644c9ac 100644 --- a/Source/WXDialog/wxCMakeSetup.cxx +++ b/Source/WXDialog/wxCMakeSetup.cxx @@ -87,8 +87,8 @@ public: { wxPanel *panel = new wxPanel(this, -1); panel->SetBackgroundColour(*wxRED); - wxTextCtrl * text = new wxTextCtrl(panel, -1, "Test", wxPoint(40, 5)); - wxButton * bt = new wxButton(panel, -1, "Test", wxPoint(-1, 5)); + new wxTextCtrl(panel, -1, "Test", wxPoint(40, 5)); + new wxButton(panel, -1, "Test", wxPoint(-1, 5)); } }; |