From 88fb99a26279174b9a6e94c735a8fb933d9f1883 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 13 Nov 2007 13:15:04 +0000 Subject: [PATCH] compilation fix after argv changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/text/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/text/text.cpp b/samples/text/text.cpp index b24f666439..e40562aeb4 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -1036,7 +1036,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h ) // a little hack to use the command line argument for encoding testing if ( wxTheApp->argc == 2 ) { - switch ( wxTheApp->argv[1][0] ) + switch ( (wxChar)wxTheApp->argv[1][0] ) { case '2': m_horizontal->SetFont(wxFont(18, wxSWISS, wxNORMAL, wxNORMAL,