+// -------------------------------------
+// MySecondFrame
+// -------------------------------------
+
+// Callback from wxShadowObject
+
+int cb_MySecondFrame_InitStatusbar( void* window, void* WXUNUSED(param) )
+{
+ MySecondFrame *frame = (MySecondFrame*) window;
+ frame->SetStatusText( wxT("Hello from MySecondFrame"), 0 );
+ return 0;
+}
+
+// My frame constructor
+MySecondFrame::MySecondFrame(wxFrame *frame, wxChar *title, int x, int y, int w, int h):
+ MyFrame(frame, title, x, y, w, h )
+{
+ m_shadow.AddMethod( wxT("OnTest"), &cb_MySecondFrame_InitStatusbar );
+}