use generic sample icon; no need for separate .rc file

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-06-17 14:36:24 +00:00
parent ad30bb374f
commit d52f6c4eed
4 changed files with 7 additions and 6 deletions

View File

@@ -24,6 +24,10 @@
#include "wx/artprov.h"
#include "notebook.h"
#if !defined(__WXMSW__) && !defined(__WXPM__)
#include "../sample.xpm"
#endif
IMPLEMENT_APP(MyApp)
bool MyApp::OnInit()
@@ -202,8 +206,9 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size,
m_chkShowImages = true;
m_multi = false;
// menu of the sample
SetIcon(wxICON(sample));
// menu of the sample
wxMenu *menuType = new wxMenu;
#if wxUSE_NOTEBOOK
menuType->AppendRadioItem(ID_BOOK_NOTEBOOK, wxT("&Notebook\tCtrl-1"));