// wxControl markup support
// ----------------------------------------------------------------------------
+#if wxUSE_MARKUP
+
/* static */
wxString wxControlBase::RemoveMarkup(const wxString& markup)
{
return true;
}
+#endif // wxUSE_MARKUP
+
// ----------------------------------------------------------------------------
// wxControlBase - ellipsization code
// ----------------------------------------------------------------------------
{
wxSize best;
wxBitmap bmp = GetBitmap();
- if ( bmp.Ok() )
+ if ( bmp.IsOk() )
best = wxSize(bmp.GetWidth(), bmp.GetHeight());
else
// this is completely arbitrary