]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/internat/internat.cpp
m_queuedFullRedraw is not used anymore
[wxWidgets.git] / samples / internat / internat.cpp
index acdc2ccdcb9c88db99925b1da8b1a8a2df17e946..0a931caccdc30cd8cb39d778791a7681444b273c 100644 (file)
@@ -87,7 +87,7 @@ enum
 };
 
 // ----------------------------------------------------------------------------
-// wxWindows macros
+// wxWidgets macros
 // ----------------------------------------------------------------------------
 
 BEGIN_EVENT_TABLE(MyFrame, wxFrame)
@@ -229,7 +229,7 @@ bool MyApp::OnInit()
 MyFrame::MyFrame(wxLocale& locale)
        : wxFrame(NULL,
                  -1,
-                 _("International wxWindows App"),
+                 _("International wxWidgets App"),
                  wxPoint(50, 50),
                  wxSize(350, 60)),
          m_locale(locale)
@@ -337,8 +337,7 @@ void MyFrame::OnTest2(wxCommandEvent& WXUNUSED(event))
 {
     const wxChar* title = _("Testing _N() (ngettext)");
     wxTextEntryDialog d(this,
-           _("Please enter range for plural forms of \"n files deleted\""
-               "phrase"),
+           _("Please enter range for plural forms of \"n files deleted\" phrase"),
            title, _T("0-10"));
     if (d.ShowModal() == wxID_OK)
     {
@@ -348,8 +347,9 @@ void MyFrame::OnTest2(wxCommandEvent& WXUNUSED(event))
        s << _T("\n");
        for (int n = first; n <= last; ++n)
         {
-                   s << n << _T(" ") << 
-                     ngettext("file deleted", "files deleted", n) << _T("\n");
+            s << n << _T(" ") << 
+                wxGetTranslation(_T("file deleted"), _T("files deleted"), n) <<
+                _T("\n");
        }
         wxMessageBox(s);
     }