X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cb122de97b40f0b6c8896f40847a7aaf762abb5..cae5359f186e755ca52b8e69e311b4ec6c0a1836:/samples/image/image.cpp?ds=sidebyside diff --git a/samples/image/image.cpp b/samples/image/image.cpp index 63e3ab54a7..30bb7eb986 100644 --- a/samples/image/image.cpp +++ b/samples/image/image.cpp @@ -107,9 +107,6 @@ MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id, dc.DrawRectangle( 0, 0, 100, 100 ); dc.SelectObject( wxNullBitmap ); - dc.DrawText( "Loaded image", 30, 10 ); - if (my_square && my_square->Ok()) dc.DrawBitmap( *my_square, 30, 30 ); - // try to find the directory with our images wxString dir; if ( wxFile::Exists("./horse.png") ) @@ -278,6 +275,7 @@ void MyFrame::OnQuit( wxCommandEvent &WXUNUSED(event) ) void MyFrame::OnAbout( wxCommandEvent &WXUNUSED(event) ) { (void)wxMessageBox( "wxImage demo\n" + "\n" "Robert Roebling (c) 1998", "About wxImage Demo", wxICON_INFORMATION | wxOK ); }