Add sample icon

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-03-18 10:05:27 +00:00
parent 598152189f
commit df31591376

View File

@@ -30,6 +30,8 @@
#include "wx/progdlg.h" #include "wx/progdlg.h"
#include "../sample.xpm"
// define this to use wxExecute in the exec tests, otherwise just use system // define this to use wxExecute in the exec tests, otherwise just use system
#define USE_EXECUTE #define USE_EXECUTE
@@ -415,6 +417,8 @@ MyFrame::MyFrame(wxFrame *frame, const wxString& title,
int x, int y, int w, int h) int x, int y, int w, int h)
: wxFrame(frame, wxID_ANY, title, wxPoint(x, y), wxSize(w, h)) : wxFrame(frame, wxID_ANY, title, wxPoint(x, y), wxSize(w, h))
{ {
SetIcon(wxIcon(sample_xpm));
m_nRunning = m_nCount = 0; m_nRunning = m_nCount = 0;
m_dlgProgress = (wxProgressDialog *)NULL; m_dlgProgress = (wxProgressDialog *)NULL;