then fall back to normal label setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29001
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (label.empty() && wxIsStockID(m_windowId))
label = wxGetStockLabel(m_windowId);
if (label.empty() && wxIsStockID(m_windowId))
label = wxGetStockLabel(m_windowId);
wxControl::SetLabel(label);
wxControl::SetLabel(label);
{
gtk_button_set_label(GTK_BUTTON(m_widget), stock);
gtk_button_set_use_stock(GTK_BUTTON(m_widget), TRUE);
{
gtk_button_set_label(GTK_BUTTON(m_widget), stock);
gtk_button_set_use_stock(GTK_BUTTON(m_widget), TRUE);
}
wxString label2 = PrepareLabelMnemonics(label);
}
wxString label2 = PrepareLabelMnemonics(label);
if (label.empty() && wxIsStockID(m_windowId))
label = wxGetStockLabel(m_windowId);
if (label.empty() && wxIsStockID(m_windowId))
label = wxGetStockLabel(m_windowId);
wxControl::SetLabel(label);
wxControl::SetLabel(label);
{
gtk_button_set_label(GTK_BUTTON(m_widget), stock);
gtk_button_set_use_stock(GTK_BUTTON(m_widget), TRUE);
{
gtk_button_set_label(GTK_BUTTON(m_widget), stock);
gtk_button_set_use_stock(GTK_BUTTON(m_widget), TRUE);
}
wxString label2 = PrepareLabelMnemonics(label);
}
wxString label2 = PrepareLabelMnemonics(label);