]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/calendar/calendar.cpp
regenerated after version.bkl changes fixing -compatibility_version for Darwin
[wxWidgets.git] / samples / calendar / calendar.cpp
index c3250143e2b46037747d7576be7b0f2a0a779a69..a1226ce8d70e105b79027f4aee5cd3fc14ceb646 100644 (file)
@@ -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;