]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed Unicode compilation (please use wxT()...)
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 17 Dec 2001 00:30:55 +0000 (00:30 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 17 Dec 2001 00:30:55 +0000 (00:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filename.cpp

index 17525840a4fa79db8d31feada702994e401c9c6f..2bb2b0be196d4673e22b3859d5334028604946a5 100644 (file)
@@ -271,7 +271,7 @@ void wxFileName::Assign(const wxString& volume,
                 m_relative = ( (my_path[0u] != wxT('/')) && (my_path[0u] != wxT('\\')) );
                 break;
             default:
-                wxFAIL_MSG( "error" );
+                wxFAIL_MSG( wxT("error") );
                 break;
         }
         
@@ -1070,7 +1070,7 @@ wxString wxFileName::GetPath( bool add_separator, wxPathFormat format ) const
                 }
                 default:
                 {
-                    wxFAIL_MSG( "error" );
+                    wxFAIL_MSG( wxT("error") );
                 }
             }
         }
@@ -1172,7 +1172,7 @@ wxString wxFileName::GetFullPath( wxPathFormat format ) const
                 }
                 default:
                 {
-                    wxFAIL_MSG( "error" );
+                    wxFAIL_MSG( wxT("error") );
                 }
             }
         }