]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/test/test.cpp
Defaults in wxWinCE documented.
[wxWidgets.git] / samples / html / test / test.cpp
index d3efde3d9e9e20c719c5c63b69b729396365fde8..6bde933e5588733b912cd53e9121984cba4036f8 100644 (file)
@@ -9,8 +9,8 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #if defined(__GNUG__) && !defined(__APPLE__)
-    #pragma implementation "test.cpp"
-    #pragma interface "test.cpp"
+    #pragma implementation
+    #pragma interface
 #endif
 
 // For compilers that support precompilation, includes "wx/wx.h".
@@ -33,6 +33,8 @@
 #include "wx/fs_inet.h"
 #include "wx/filedlg.h"
 
+#include "../../sample.xpm"
+
 // ----------------------------------------------------------------------------
 // private classes
 // ----------------------------------------------------------------------------
@@ -188,6 +190,8 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
     // ... and attach this menu bar to the frame
     SetMenuBar(menuBar);
 
+    SetIcon(wxIcon(sample_xpm));
+
 #if wxUSE_ACCEL
     // Create convenient accelerators for Back and Forward navigation
     wxAcceleratorEntry entries[2];