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:
Francesco Montorsi
2009-02-08 01:20:35 +00:00
parent 41f02b9acc
commit 197ab43d72
10 changed files with 356 additions and 277 deletions

View File

@@ -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