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:
@@ -190,7 +190,7 @@ void Edit::OnEditClear (wxCommandEvent &WXUNUSED(event)) {
|
||||
Clear ();
|
||||
}
|
||||
|
||||
void Edit::OnKey (wxStyledTextEvent &event)
|
||||
void Edit::OnKey (wxStyledTextEvent &WXUNUSED(event))
|
||||
{
|
||||
wxMessageBox("OnKey");
|
||||
}
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user