X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/482635118a139c87757b2228768c7b4056de82eb..4cbcfb73a037462ccf4d54b3e50c58e37cc61aa9:/samples/calendar/calendar.cpp diff --git a/samples/calendar/calendar.cpp b/samples/calendar/calendar.cpp index c3250143e2..a1226ce8d7 100644 --- a/samples/calendar/calendar.cpp +++ b/samples/calendar/calendar.cpp @@ -34,6 +34,7 @@ #include "wx/menu.h" #include "wx/layout.h" #include "wx/msgdlg.h" + #include "wx/icon.h" #endif #include "wx/sizer.h" @@ -273,7 +274,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) : wxFrame((wxFrame *)NULL, wxID_ANY, title, pos, size) { // set the frame icon - SetIcon(sample_xpm); + SetIcon(wxIcon(sample_xpm)); // create a menu bar wxMenu *menuFile = new wxMenu;