wxMac Unicode support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -255,7 +255,7 @@ bool wxToolBar::Realize()
|
||||
::SetControlFontStyle( m_macToolHandle , &controlstyle ) ;
|
||||
*/
|
||||
ControlHandle container = (ControlHandle) GetParent()->MacGetContainerForEmbedding() ;
|
||||
wxASSERT_MSG( container != NULL , "No valid mac container control" ) ;
|
||||
wxASSERT_MSG( container != NULL , wxT("No valid mac container control") ) ;
|
||||
::EmbedControl( m_macToolHandle , container ) ;
|
||||
|
||||
if ( GetWindowStyleFlag() & wxTB_VERTICAL )
|
||||
@@ -507,7 +507,7 @@ wxString wxToolBar::MacGetToolTipString( wxPoint &pt )
|
||||
{
|
||||
return tool->GetShortHelp() ;
|
||||
}
|
||||
return "" ;
|
||||
return wxEmptyString ;
|
||||
}
|
||||
|
||||
void wxToolBar::DoEnableTool(wxToolBarToolBase *t, bool enable)
|
||||
|
Reference in New Issue
Block a user