X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/749bfe9a6de1187def2b26c0cbbb249c1548c1ac..da98e15760bfcad41a5579e64955caadc2e535f3:/samples/vscroll/vstest.cpp?ds=sidebyside diff --git a/samples/vscroll/vstest.cpp b/samples/vscroll/vstest.cpp index c1e18c8248..cddf8b9c6b 100644 --- a/samples/vscroll/vstest.cpp +++ b/samples/vscroll/vstest.cpp @@ -41,7 +41,7 @@ // the application icon (under Windows and OS/2 it is in resources) #if !defined(__WXMSW__) && !defined(__WXOS2__) - #include "mondrian.xpm" + #include "../sample.xpm" #endif // ---------------------------------------------------------------------------- @@ -174,7 +174,7 @@ END_EVENT_TABLE() enum { // menu items - VScroll_Quit = 1, + VScroll_Quit = wxID_EXIT, // it is important for the id corresponding to the "About" command to have // this standard value as otherwise it won't be handled properly under Mac @@ -237,7 +237,7 @@ VScrollFrame::VScrollFrame() wxSize(400, 350)) { // set the frame icon - SetIcon(wxICON(mondrian)); + SetIcon(wxICON(sample)); #if wxUSE_MENUS // create a menu bar