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:
Mattia Barbon
2003-02-10 21:18:32 +00:00
parent 67a26a1a0b
commit 5c0ee4a80a

View File

@@ -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[] =