unused params warnings fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2d588cb2b0
commit
33c9645172
@ -300,12 +300,12 @@ OwnerDrawnFrame::~OwnerDrawnFrame()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void OwnerDrawnFrame::OnQuit(wxCommandEvent& event)
|
void OwnerDrawnFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
|
||||||
{
|
{
|
||||||
Close(TRUE);
|
Close(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OwnerDrawnFrame::OnMenuToggle(wxCommandEvent& event)
|
void OwnerDrawnFrame::OnMenuToggle(wxCommandEvent& WXUNUSED(event))
|
||||||
{
|
{
|
||||||
// This example shows the use of bitmaps in ownerdrawn menuitems and is not a good
|
// This example shows the use of bitmaps in ownerdrawn menuitems and is not a good
|
||||||
// example on how to enable and disable menuitems - this should be done with the help of
|
// example on how to enable and disable menuitems - this should be done with the help of
|
||||||
@ -313,7 +313,7 @@ void OwnerDrawnFrame::OnMenuToggle(wxCommandEvent& event)
|
|||||||
pAboutItem->Enable( pAboutItem->IsEnabled() ? FALSE : TRUE );
|
pAboutItem->Enable( pAboutItem->IsEnabled() ? FALSE : TRUE );
|
||||||
}
|
}
|
||||||
|
|
||||||
void OwnerDrawnFrame::OnAbout(wxCommandEvent& event)
|
void OwnerDrawnFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
|
||||||
{
|
{
|
||||||
wxMessageDialog dialog(this,
|
wxMessageDialog dialog(this,
|
||||||
_T("Demo of owner-drawn controls\n"),
|
_T("Demo of owner-drawn controls\n"),
|
||||||
@ -330,7 +330,7 @@ void OwnerDrawnFrame::OnListboxSelect(wxCommandEvent& event)
|
|||||||
SetStatusText(strSelection);
|
SetStatusText(strSelection);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OwnerDrawnFrame::OnListboxDblClick(wxCommandEvent& event)
|
void OwnerDrawnFrame::OnListboxDblClick(wxCommandEvent& WXUNUSED(event))
|
||||||
{
|
{
|
||||||
wxString strSelection;
|
wxString strSelection;
|
||||||
strSelection.Printf(wxT("item %d double clicked"),
|
strSelection.Printf(wxT("item %d double clicked"),
|
||||||
|
Loading…
Reference in New Issue
Block a user