X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eed04c9999d7929fad7d18fab4e8071b515f6aa7..ae901b234c4a0aa7c1777b3bd181dd7f8517ad21:/samples/shaped/shaped.cpp diff --git a/samples/shaped/shaped.cpp b/samples/shaped/shaped.cpp index 9ebf3e697c..4e828a41f8 100644 --- a/samples/shaped/shaped.cpp +++ b/samples/shaped/shaped.cpp @@ -40,6 +40,9 @@ #include "wx/dcclient.h" #include "wx/image.h" +#ifndef __WXMSW__ + #include "../sample.xpm" +#endif // ---------------------------------------------------------------------------- // constants @@ -246,6 +249,8 @@ MainFrame::MainFrame() : wxFrame(NULL, wxID_ANY, "wxWidgets Shaped Sample", wxDefaultPosition, wxSize(200, 100)) { + SetIcon(wxICON(sample)); + wxMenuBar * const mbar = new wxMenuBar; wxMenu * const menuFrames = new wxMenu; menuFrames->Append(Show_Shaped, "Show &shaped window\tCtrl-S");