X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3cb332c1553bb977cb8db16c19c733684ef72805..34326da778583ca8eab95f2e41738da2852a5a16:/samples/internat/internat.cpp diff --git a/samples/internat/internat.cpp b/samples/internat/internat.cpp index 223cb01fb4..d285652e7c 100644 --- a/samples/internat/internat.cpp +++ b/samples/internat/internat.cpp @@ -6,7 +6,7 @@ // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // NOTE: don't miss the "readme.txt" file which comes with this sample! @@ -37,7 +37,7 @@ #include "wx/log.h" #include "wx/cmdline.h" -#if !defined(__WXMSW__) && !defined(__WXPM__) +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "../sample.xpm" #endif @@ -271,7 +271,6 @@ bool MyApp::OnInit() // Show the frame frame->Show(true); - SetTopWindow(frame); return true; } @@ -296,7 +295,7 @@ MyFrame::MyFrame(wxLocale& locale) // since wxID_ABOUT and wxID_EXIT are stock IDs they will automatically get // translated help strings; nice isn't it? - file_menu->Append(wxID_ABOUT, _("&About...")); + file_menu->Append(wxID_ABOUT, _("&About")); file_menu->AppendSeparator(); file_menu->Append(wxID_EXIT, _("E&xit")); @@ -399,7 +398,7 @@ void MyFrame::OnPlay(wxCommandEvent& WXUNUSED(event)) str = wxGetTranslation(wxTRANSLATE("Bad luck! try again...")); // note also that if we want 'str' to contain a localized string - // we need to use wxGetTranslation explicitely as wxTRANSLATE just + // we need to use wxGetTranslation explicitly as wxTRANSLATE just // tells xgettext to extract the string but has no effect on the // runtime of the program! }