added static wxPlatformInfo::Get() and use it (patch 1549176)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1591,7 +1591,7 @@ bool wxLocale::Init(const wxChar *szName,
|
||||
// an error if this does not exist
|
||||
if ( bOk )
|
||||
{
|
||||
wxString port(wxPlatformInfo().GetPortIdName());
|
||||
wxString port(wxPlatformInfo::Get().GetPortIdName());
|
||||
if ( !port.empty() )
|
||||
{
|
||||
AddCatalog(port.BeforeFirst(wxT('/')).MakeLower());
|
||||
|
Reference in New Issue
Block a user