]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/calendar/calendar.cpp
Use Cairo for wxGraphicsContext in wxX11.
[wxWidgets.git] / samples / calendar / calendar.cpp
index a6c6007c51f0ae800aaead0ff99a736936fe0728..74963223326f6e3fc7b4b0e08df983f3b2532160 100644 (file)
@@ -347,7 +347,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(wxIcon(sample_xpm));
+    SetIcon(wxICON(sample));
 
     // create a menu bar
     wxMenu *menuFile = new wxMenu;