compilation fix after argv changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
// a little hack to use the command line argument for encoding testing
|
||||||
if ( wxTheApp->argc == 2 )
|
if ( wxTheApp->argc == 2 )
|
||||||
{
|
{
|
||||||
switch ( wxTheApp->argv[1][0] )
|
switch ( (wxChar)wxTheApp->argv[1][0] )
|
||||||
{
|
{
|
||||||
case '2':
|
case '2':
|
||||||
m_horizontal->SetFont(wxFont(18, wxSWISS, wxNORMAL, wxNORMAL,
|
m_horizontal->SetFont(wxFont(18, wxSWISS, wxNORMAL, wxNORMAL,
|
||||||
|
Reference in New Issue
Block a user