Move comment in wxOSX wxToolBar code to a more logical place
No real changes, just move the comment in front of the line it documents.
This commit is contained in:
@@ -178,14 +178,13 @@ public:
|
||||
wxToolBar *tbar = (wxToolBar*) GetToolBar();
|
||||
int style = (tbar ? tbar->GetWindowStyleFlag() : 0);
|
||||
|
||||
// strip mnemonics from the label for compatibility with the usual
|
||||
// labels in wxStaticText sense
|
||||
wxCFStringRef l(wxStripMenuCodes(m_label), GetToolBarFontEncoding());
|
||||
wxCFStringRef sh( GetShortHelp(), GetToolBarFontEncoding() );
|
||||
#if wxOSX_USE_NATIVE_TOOLBAR
|
||||
if ( m_toolbarItem )
|
||||
{
|
||||
// strip mnemonics from the label for compatibility with the usual
|
||||
// labels in wxStaticText sense
|
||||
|
||||
[m_toolbarItem setLabel:l.AsNSString()];
|
||||
|
||||
[m_toolbarItem setToolTip:sh.AsNSString()];
|
||||
|
Reference in New Issue
Block a user