_T("About wxWidgets printing demo"), wxOK|wxCENTRE);
}
-void MyFrame::OnAngleUp(wxCommandEvent& event)
+void MyFrame::OnAngleUp(wxCommandEvent& WXUNUSED(event))
{
m_angle += 5;
canvas->Refresh();
}
-void MyFrame::OnAngleDown(wxCommandEvent& event)
+void MyFrame::OnAngleDown(wxCommandEvent& WXUNUSED(event))
{
m_angle -= 5;
canvas->Refresh();
dc.SetPen(*wxRED_PEN);
dc.DrawText( wxT("Test message: this is in 10 point text"), 10, 180);
-
+
#if wxUSE_UNICODE
char *test = "Hebrew שלום -- Japanese (日本語)";
wxString tmp = wxConvUTF8.cMB2WC( test );
wxIcon my_icon = wxICON(mondrian) ;
dc.DrawIcon( my_icon, 100, 100);
-
+
if (m_bitmap.Ok())
dc.DrawBitmap( m_bitmap, 10, 10 );
}