Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -94,7 +94,7 @@ bool MyApp::OnInit(void)
|
|||||||
|
|
||||||
// Callback from wxShadowObject
|
// Callback from wxShadowObject
|
||||||
|
|
||||||
int cb_MyFrame_InitStatusbar( void* window, void* param )
|
int cb_MyFrame_InitStatusbar( void* window, void* WXUNUSED(param) )
|
||||||
{
|
{
|
||||||
MyFrame *frame = (MyFrame*) window;
|
MyFrame *frame = (MyFrame*) window;
|
||||||
frame->SetStatusText( wxT("Hello from MyFrame"), 0 );
|
frame->SetStatusText( wxT("Hello from MyFrame"), 0 );
|
||||||
@@ -164,7 +164,7 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event) )
|
|||||||
|
|
||||||
// Callback from wxShadowObject
|
// Callback from wxShadowObject
|
||||||
|
|
||||||
int cb_MySecondFrame_InitStatusbar( void* window, void* param )
|
int cb_MySecondFrame_InitStatusbar( void* window, void* WXUNUSED(param) )
|
||||||
{
|
{
|
||||||
MySecondFrame *frame = (MySecondFrame*) window;
|
MySecondFrame *frame = (MySecondFrame*) window;
|
||||||
frame->SetStatusText( wxT("Hello from MySecondFrame"), 0 );
|
frame->SetStatusText( wxT("Hello from MySecondFrame"), 0 );
|
||||||
@@ -177,4 +177,3 @@ MySecondFrame::MySecondFrame(wxFrame *frame, wxChar *title, int x, int y, int w,
|
|||||||
{
|
{
|
||||||
m_shadow.AddMethod( wxT("OnTest"), &cb_MySecondFrame_InitStatusbar );
|
m_shadow.AddMethod( wxT("OnTest"), &cb_MySecondFrame_InitStatusbar );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user