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:
@@ -39,6 +39,11 @@
|
||||
|
||||
#include "wx/notebook.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// constants
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -189,6 +194,8 @@ MyFrame::MyFrame()
|
||||
: wxFrame(NULL, wxID_ANY, _T("TabOrder wxWidgets Sample"),
|
||||
wxDefaultPosition, wxSize(700, 450))
|
||||
{
|
||||
SetIcon(wxICON(sample));
|
||||
|
||||
wxMenu *menuFile = new wxMenu;
|
||||
menuFile->Append(TabOrder_About);
|
||||
menuFile->AppendSeparator();
|
||||
|
Reference in New Issue
Block a user