]> git.saurik.com Git - wxWidgets.git/commitdiff
Unicode compilation fix, just for kicks (was bored after missing some
authorOve Kaaven <ovek@arcticnet.no>
Sun, 25 Jul 1999 11:44:08 +0000 (11:44 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Sun, 25 Jul 1999 11:44:08 +0000 (11:44 +0000)
libraries needed to compile current cvs of abiword)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/config/conftest.cpp

index fe26c3b968a200a14721c7c9ec8538d4a393d9e1..37b8c1f5439efa31e0d3b6999af5c9d27852352d 100644 (file)
@@ -208,21 +208,21 @@ void MyFrame::OnQuit(wxCommandEvent&)
 
 void MyFrame::OnAbout(wxCommandEvent&)
 {
-  wxMessageBox("wxConfig demo\n© Vadim Zeitlin 1998", "About",
+  wxMessageBox(_T("wxConfig demo\n© Vadim Zeitlin 1998"), _T("About"),
                wxICON_INFORMATION | wxOK);
 }
 
 void MyFrame::OnDelete(wxCommandEvent&)
 {
     if ( wxConfigBase::Get()->DeleteAll() ) {
-        wxLogMessage("Config file/registry key successfully deleted.");
+        wxLogMessage(_T("Config file/registry key successfully deleted."));
 
         delete wxConfigBase::Set((wxConfigBase *) NULL);
         wxConfigBase::DontCreateOnDemand();
     }
     else
     {
-        wxLogError("Deleting config file/registry key failed.");
+        wxLogError(_T("Deleting config file/registry key failed."));
     }
 }