m_parent->DoAddChild( this );
PostCreation(size);
-
+
// we should blend into our parent background
const wxColour bg = parent->GetBackgroundColour();
SetBackgroundColour(bg);
void wxCollapsiblePane::SetLabel(const wxString &str)
{
- gtk_expander_set_label(GTK_EXPANDER(m_widget), wxGTK_CONV(str));
+ gtk_expander_set_label(GTK_EXPANDER(m_widget),
+ wxGTK_CONV(GTKConvertMnemonics(str)));
// FIXME: we need to update our collapsed width in some way but using GetBestSize()
// we may get the size of the control with the pane size summed up if we are expanded!
windows.Add( m_widget->window );
return NULL;
-}
+}
#endif // wxUSE_COLLPANE && !defined(__WXUNIVERSAL__)