Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -826,7 +826,7 @@ wxItemResource *wxResourceInterpretControl(wxResourceTable& table, wxExpr *expr)
|
||||
wxString str(expr->Nth(count)->StringValue());
|
||||
count ++;
|
||||
|
||||
if (str != "")
|
||||
if (str != _T(""))
|
||||
{
|
||||
controlItem->SetValue4(str);
|
||||
controlItem->SetType(_T("wxBitmapButton"));
|
||||
@@ -2057,7 +2057,7 @@ wxBitmap wxResourceCreateBitmap(const wxString& resource, wxResourceTable *table
|
||||
wxItemResource *item = table->FindResource(resource);
|
||||
if (item)
|
||||
{
|
||||
if ((item->GetType() == "") || (item->GetType() != "wxBitmap"))
|
||||
if ((item->GetType() == _T("")) || (item->GetType() != _T("wxBitmap")))
|
||||
{
|
||||
wxLogWarning(_("%s not a bitmap resource specification."), (const wxChar*) resource);
|
||||
return wxNullBitmap;
|
||||
|
Reference in New Issue
Block a user