Set the standard sample icon for the exec sample.
Do this for consistency with all the other ones and also because it makes it simpler to notice any unwanted icons for hidden windows created by this sample. See #13251. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -65,6 +65,10 @@
|
||||
#include "wx/dde.h"
|
||||
#endif // __WINDOWS__
|
||||
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// the usual application and main frame classes
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -438,6 +442,8 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
|
||||
m_timerIdleWakeUp(this, Exec_TimerIdle),
|
||||
m_timerBg(this, Exec_TimerBg)
|
||||
{
|
||||
SetIcon(wxICON(sample));
|
||||
|
||||
m_pidLast = 0;
|
||||
|
||||
#ifdef __WXMAC__
|
||||
|
Reference in New Issue
Block a user