X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d41ed0a1c5cfa808398084b1e733728e2270320..a64bba4eb514ccfc6712b1929644b1cd0de481c8:/samples/htlbox/htlbox.cpp diff --git a/samples/htlbox/htlbox.cpp b/samples/htlbox/htlbox.cpp index 95d99d5c0e..419def086c 100644 --- a/samples/htlbox/htlbox.cpp +++ b/samples/htlbox/htlbox.cpp @@ -37,6 +37,7 @@ #include "wx/textctrl.h" #include "wx/dc.h" + #include "wx/icon.h" #endif #include "wx/colordlg.h" @@ -51,14 +52,7 @@ #include "wx/textfile.h" #endif -// ---------------------------------------------------------------------------- -// resources -// ---------------------------------------------------------------------------- - -// the application icon (under Windows and OS/2 it is in resources) -#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXMGL__) || defined(__WXX11__) - #include "mondrian.xpm" -#endif +#include "../sample.xpm" // ---------------------------------------------------------------------------- // private classes @@ -210,7 +204,7 @@ MyFrame::MyFrame() wxDefaultPosition, wxSize(400, 500)) { // set the frame icon - SetIcon(wxICON(mondrian)); + SetIcon(wxIcon(sample_xpm)); #if wxUSE_MENUS // create a menu bar