]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/ownerdrw/ownerdrw.cpp
Large image-loading speedup and small attribute-loading speedup
[wxWidgets.git] / samples / ownerdrw / ownerdrw.cpp
index b42ed4761e8506110395d4b1f30819b38a85de81..b15aa9d68c6f01ad88d2aaefa41115b38e4296e4 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     13.11.97
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
@@ -265,7 +265,7 @@ OwnerDrawnFrame::OwnerDrawnFrame(wxFrame *frame, const wxChar *title,
          : wxFrame(frame, wxID_ANY, title, wxPoint(x, y), wxSize(w, h))
 {
     // set the icon
-    SetIcon(wxIcon(wxT("mondrian")));
+    SetIcon(wxICON(sample));
 
     // create the menu
     InitMenu();