X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a1cf3e9ad88e76c2be62ac7d8a9d810479f7c90..0fe243db0c0447b69917eaa6d3a0e32743229638:/samples/taborder/taborder.cpp diff --git a/samples/taborder/taborder.cpp b/samples/taborder/taborder.cpp index 820db7fc0b..72e99a0fce 100644 --- a/samples/taborder/taborder.cpp +++ b/samples/taborder/taborder.cpp @@ -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();