x = margin + rect.x;
y = rect.y + wxMax(1, (rect.height - h) / 2);
-
+
if (params->m_labelText.empty())
{
// use the alignment flags
}
dc.DrawBitmap(params->m_labelBitmap, x, y, true);
}
-
+
// Draw a label if one is given
if ( params && !params->m_labelText.empty() )
{
void wxRendererGeneric::DrawChoice(wxWindow* WXUNUSED(win), wxDC& WXUNUSED(dc),
const wxRect& WXUNUSED(rect), int WXUNUSED(flags))
{
- // FIXME: Implement
+ wxFAIL_MSG("UNIMPLEMENTED: wxRendererGeneric::DrawChoice");
}
void wxRendererGeneric::DrawComboBox(wxWindow* WXUNUSED(win), wxDC& WXUNUSED(dc),
const wxRect& WXUNUSED(rect), int WXUNUSED(flags))
{
- // FIXME: Implement
+ wxFAIL_MSG("UNIMPLEMENTED: wxRendererGeneric::DrawComboBox");
}
void wxRendererGeneric::DrawRadioButton(wxWindow* WXUNUSED(win), wxDC& WXUNUSED(dc),
const wxRect& WXUNUSED(rect), int WXUNUSED(flags))
{
- // FIXME: Implement
+ wxFAIL_MSG("UNIMPLEMENTED: wxRendererGeneric::DrawRadioButton");
}
void wxRendererGeneric::DrawTextCtrl(wxWindow* WXUNUSED(win), wxDC& WXUNUSED(dc),
const wxRect& WXUNUSED(rect), int WXUNUSED(flags))
{
- // FIXME: Implement
+ wxFAIL_MSG("UNIMPLEMENTED: wxRendererGeneric::DrawTextCtrl");
}