Fix more harmless warnings.

Fix a warning about unused parameters and another about signed/unsigned
comparison during samples and tests compilation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-04-06 17:38:23 +00:00
parent ac349b6e66
commit be8332eb97
2 changed files with 3 additions and 2 deletions

View File

@@ -190,7 +190,7 @@ void Edit::OnEditClear (wxCommandEvent &WXUNUSED(event)) {
Clear ();
}
void Edit::OnKey (wxStyledTextEvent &event)
void Edit::OnKey (wxStyledTextEvent &WXUNUSED(event))
{
wxMessageBox("OnKey");
}

View File

@@ -185,7 +185,6 @@ void BoxSizerTestCase::Size3()
child[1] = new wxWindow(m_win, wxID_ANY);
child[2] = new wxWindow(m_win, wxID_ANY);
int j;
for ( unsigned i = 0; i < WXSIZEOF(layoutTestData); i++ )
{
LayoutTestData ltd = layoutTestData[i];
@@ -219,6 +218,8 @@ void BoxSizerTestCase::Size3()
}
m_sizer->Clear();
unsigned j;
for ( j = 0; j < WXSIZEOF(child); j++ )
ltd.AddToSizer(m_sizer, child[j], j);