support mnemonics for wxStatic/RadioBox and made it easier to add support for more controls by virtualizing the mnemonics support logic (patch 1448178)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -166,6 +166,16 @@ bool wxStaticText::SetForegroundColour(const wxColour& colour)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool wxStaticText::GTKWidgetNeedsMnemonic() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void wxStaticText::GTKWidgetDoSetMnemonic(GtkWidget* w)
|
||||
{
|
||||
gtk_label_set_mnemonic_widget(GTK_LABEL(m_widget), w);
|
||||
}
|
||||
|
||||
// static
|
||||
wxVisualAttributes
|
||||
wxStaticText::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
|
||||
|
Reference in New Issue
Block a user