Fix compilation with GCC (at least 2.95.4).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -109,7 +109,8 @@ bool MyApp::OnInit()
|
||||
if ( argc == 2 )
|
||||
{
|
||||
// the parameter must be the lang index
|
||||
wxString(argv[1]).ToLong(&lng);
|
||||
wxString tmp(argv[1]);
|
||||
tmp.ToLong(&lng);
|
||||
}
|
||||
|
||||
static const wxLanguage langIds[] =
|
||||
|
Reference in New Issue
Block a user