always call SetIcon() on the main frame of the sample; some small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -59,6 +59,10 @@
|
||||
#include "copy.xpm"
|
||||
#endif
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// classes
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -371,6 +375,8 @@ bool MyApp::OnInit()
|
||||
MyFrame::MyFrame()
|
||||
: wxFrame((wxFrame *)NULL, wxID_ANY, _T("wxWidgets menu sample"))
|
||||
{
|
||||
SetIcon(wxICON(sample));
|
||||
|
||||
#if USE_LOG_WINDOW
|
||||
m_textctrl = NULL;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user