X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/004867dbc54950a43acc7d250fa4a966f046a679..30b80439116f85c67f595661b7bb369f17c1eb1e:/samples/stc/stctest.cpp diff --git a/samples/stc/stctest.cpp b/samples/stc/stctest.cpp index 14db821fc5..06889c1c71 100644 --- a/samples/stc/stctest.cpp +++ b/samples/stc/stctest.cpp @@ -39,6 +39,9 @@ #include "edit.h" // Edit module #include "prefs.h" // Prefs +#ifndef __WXMSW__ + #include "../sample.xpm" +#endif //---------------------------------------------------------------------------- // resources @@ -300,7 +303,9 @@ END_EVENT_TABLE () AppFrame::AppFrame (const wxString &title) : wxFrame ((wxFrame *)NULL, wxID_ANY, title, wxDefaultPosition, wxSize(750,550), - wxDEFAULT_FRAME_STYLE | wxNO_FULL_REPAINT_ON_RESIZE) { + wxDEFAULT_FRAME_STYLE | wxNO_FULL_REPAINT_ON_RESIZE) +{ + SetIcon(wxICON(sample)); // intitialize important variables m_edit = NULL;