Use sample icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8ddd9176a4
commit
18922659eb
@ -32,6 +32,8 @@
|
||||
#include "wx/splitter.h"
|
||||
#include "wx/textfile.h"
|
||||
|
||||
#include "../sample.xpm"
|
||||
|
||||
#ifdef __WXMAC__
|
||||
#undef wxFontDialog
|
||||
#include "wx/mac/fontdlg.h"
|
||||
@ -234,6 +236,8 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
|
||||
{
|
||||
m_fontSize = 12;
|
||||
|
||||
SetIcon(wxIcon(sample_xpm));
|
||||
|
||||
// create a menu bar
|
||||
wxMenu *menuFile = new wxMenu;
|
||||
|
||||
|
@ -33,6 +33,8 @@
|
||||
#include "wx/fs_inet.h"
|
||||
#include "wx/filedlg.h"
|
||||
|
||||
#include "../../sample.xpm"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// private classes
|
||||
// ----------------------------------------------------------------------------
|
||||
@ -188,6 +190,8 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
|
||||
// ... and attach this menu bar to the frame
|
||||
SetMenuBar(menuBar);
|
||||
|
||||
SetIcon(wxIcon(sample_xpm));
|
||||
|
||||
#if wxUSE_ACCEL
|
||||
// Create convenient accelerators for Back and Forward navigation
|
||||
wxAcceleratorEntry entries[2];
|
||||
|
Loading…
Reference in New Issue
Block a user