gtk_widget_ensure_style(m_widget);
ApplyWidgetStyle();
- SetInitialBestSize(size);
+ SetInitialSize(size);
}
// ----------------------------------------------------------------------------
const wxString labelGTK = GTKRemoveMnemonics(label);
- gtk_frame_set_label(w, labelGTK.empty() ? (char *)NULL
+ gtk_frame_set_label(w, labelGTK.empty() ? (const char *)NULL
: wxGTK_CONV(labelGTK));
}
{
wxChar ch = label[i];
- if ( ch == _T('&') )
+ if ( ch == wxT('&') )
{
if ( i == len - 1 )
{
}
ch = label[++i]; // skip '&' itself
- if ( ch == _T('&') )
+ if ( ch == wxT('&') )
{
// special case: "&&" is not a mnemonic at all but just an
// escaped "&"