some more SetIcon() calls added; cleanup indentation of some samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
// Include private headers
|
||||
#include "styles.h"
|
||||
|
||||
#ifndef __WXMSW__
|
||||
#include "../../sample.xpm"
|
||||
#endif
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// MyFrame
|
||||
//------------------------------------------------------------------------------
|
||||
@@ -31,6 +35,8 @@ MyFrame::MyFrame( wxWindow *parent, wxWindowID id, const wxString &title,
|
||||
const wxPoint &position, const wxSize& size, long style ) :
|
||||
wxFrame( parent, id, title, position, size, style )
|
||||
{
|
||||
SetIcon(wxICON(sample));
|
||||
|
||||
// Create menu and status bar.
|
||||
CreateMyMenuBar();
|
||||
#if wxUSE_STATUSBAR
|
||||
|
Reference in New Issue
Block a user