Compile fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-11-09 20:21:21 +00:00
parent e2c7efa04b
commit 5ce5f94ea2
2 changed files with 4 additions and 4 deletions

View File

@@ -285,9 +285,9 @@ MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id,
// try to find the directory with our images
wxString dir;
if ( wxFile::Exists(wxT("./horse.png")) )
dir = "./";
dir = wxT("./");
else if ( wxFile::Exists(wxT("../horse.png")) )
dir = "../";
dir = wxT("../");
else
wxLogWarning(wxT("Can't find image files in either '.' or '..'!"));
@@ -322,7 +322,7 @@ MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id,
#if wxUSE_GIF
image.Destroy();
if ( !image.LoadFile( dir + wxString("horse.gif")))
if ( !image.LoadFile( dir + _T("horse.gif" )) )
wxLogError(wxT("Can't load GIF image"));
else
my_horse_gif = new wxBitmap( image );