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:
@@ -30,6 +30,8 @@
|
||||
|
||||
#include "wx/progdlg.h"
|
||||
|
||||
#include "../sample.xpm"
|
||||
|
||||
// define this to use wxExecute in the exec tests, otherwise just use system
|
||||
#define USE_EXECUTE
|
||||
|
||||
@@ -401,7 +403,7 @@ bool MyApp::OnInit()
|
||||
menuBar->Append(menuHelp, _T("&Help"));
|
||||
|
||||
frame->SetMenuBar(menuBar);
|
||||
|
||||
|
||||
// Show the frame
|
||||
frame->Show(true);
|
||||
|
||||
@@ -415,6 +417,8 @@ MyFrame::MyFrame(wxFrame *frame, const wxString& title,
|
||||
int x, int y, int w, int h)
|
||||
: wxFrame(frame, wxID_ANY, title, wxPoint(x, y), wxSize(w, h))
|
||||
{
|
||||
SetIcon(wxIcon(sample_xpm));
|
||||
|
||||
m_nRunning = m_nCount = 0;
|
||||
|
||||
m_dlgProgress = (wxProgressDialog *)NULL;
|
||||
|
Reference in New Issue
Block a user