if (useDefaults != 0)
dialogItem->SetResourceStyle(dialogItem->GetResourceStyle() | wxRESOURCE_USE_DEFAULTS);
- long id = 0;
+ int id = 0;
expr->GetAttributeValue(wxT("id"), id);
dialogItem->SetId(id);
return wxBitmap(item->GetValue1(), (int)item->GetValue2(), (int)item->GetValue3()) ;
#else
wxLogWarning(_("No XBM facility available!"));
-#endif
break;
+#endif
}
case wxBITMAP_TYPE_XPM_DATA:
{
return wxBitmap((char **)item->GetValue1());
#else
wxLogWarning(_("No XPM facility available!"));
-#endif
break;
+#endif
}
default:
{
return wxBitmap(name, bitmapType);
- break;
}
}
return wxNullBitmap;
return wxIcon((const char **)item->GetValue1(), (int)item->GetValue2(), (int)item->GetValue3());
#else
wxLogWarning(_("No XBM facility available!"));
-#endif
break;
+#endif
}
case wxBITMAP_TYPE_XPM_DATA:
{