git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16735
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool linedrawn = true;
while( paragraph.Length() > 0 )
{
bool linedrawn = true;
while( paragraph.Length() > 0 )
{
wxString text = m_label;
int y = 0 ;
while (i < text.Length())
wxString text = m_label;
int y = 0 ;
while (i < text.Length())
while (node)
{
wxToolBarTool *tool = (wxToolBarTool *)node->Data();
while (node)
{
wxToolBarTool *tool = (wxToolBarTool *)node->Data();
- wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetNormalBitmap().GetRefData()) ;
+// wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetNormalBitmap().GetRefData()) ;
if( !tool->IsSeparator() )
{
if( !tool->IsSeparator() )
{
void wxToolBar::MacHandleControlClick( WXWidget control , wxInt16 controlpart )
{
void wxToolBar::MacHandleControlClick( WXWidget control , wxInt16 controlpart )
{
for ( index = 0 ; index < m_macToolHandles.Count() ; ++index )
{
if ( m_macToolHandles[index] == (void*) control )
for ( index = 0 ; index < m_macToolHandles.Count() ; ++index )
{
if ( m_macToolHandles[index] == (void*) control )
while (node)
{
wxToolBarTool *tool = (wxToolBarTool *)node->Data();
while (node)
{
wxToolBarTool *tool = (wxToolBarTool *)node->Data();
- wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetNormalBitmap().GetRefData()) ;
+ // wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetNormalBitmap().GetRefData()) ;
if( !tool->IsSeparator() )
{
if( !tool->IsSeparator() )
{
MacClientToRootWindow( &x , &y ) ;
Point pt = { y ,x } ;
MacClientToRootWindow( &x , &y ) ;
Point pt = { y ,x } ;
for ( index = 0 ; index < m_macToolHandles.Count() ; ++index )
{
if ( m_macToolHandles[index] )
for ( index = 0 ; index < m_macToolHandles.Count() ; ++index )
{
if ( m_macToolHandles[index] )
dc.YLOG2DEVMAC(m_height) , dc.XLOG2DEVMAC(m_width) } ;
UMADrawThemePlacard( &toolbarrect , IsEnabled() ? kThemeStateActive : kThemeStateInactive) ;
{
dc.YLOG2DEVMAC(m_height) , dc.XLOG2DEVMAC(m_width) } ;
UMADrawThemePlacard( &toolbarrect , IsEnabled() ? kThemeStateActive : kThemeStateInactive) ;
{
for ( index = 0 ; index < m_macToolHandles.Count() ; ++index )
{
if ( m_macToolHandles[index] )
for ( index = 0 ; index < m_macToolHandles.Count() ; ++index )
{
if ( m_macToolHandles[index] )
bool linedrawn = true;
while( paragraph.Length() > 0 )
{
bool linedrawn = true;
while( paragraph.Length() > 0 )
{
wxString text = m_label;
int y = 0 ;
while (i < text.Length())
wxString text = m_label;
int y = 0 ;
while (i < text.Length())
while (node)
{
wxToolBarTool *tool = (wxToolBarTool *)node->Data();
while (node)
{
wxToolBarTool *tool = (wxToolBarTool *)node->Data();
- wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetNormalBitmap().GetRefData()) ;
+// wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetNormalBitmap().GetRefData()) ;
if( !tool->IsSeparator() )
{
if( !tool->IsSeparator() )
{
void wxToolBar::MacHandleControlClick( WXWidget control , wxInt16 controlpart )
{
void wxToolBar::MacHandleControlClick( WXWidget control , wxInt16 controlpart )
{
for ( index = 0 ; index < m_macToolHandles.Count() ; ++index )
{
if ( m_macToolHandles[index] == (void*) control )
for ( index = 0 ; index < m_macToolHandles.Count() ; ++index )
{
if ( m_macToolHandles[index] == (void*) control )
while (node)
{
wxToolBarTool *tool = (wxToolBarTool *)node->Data();
while (node)
{
wxToolBarTool *tool = (wxToolBarTool *)node->Data();
- wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetNormalBitmap().GetRefData()) ;
+ // wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetNormalBitmap().GetRefData()) ;
if( !tool->IsSeparator() )
{
if( !tool->IsSeparator() )
{
MacClientToRootWindow( &x , &y ) ;
Point pt = { y ,x } ;
MacClientToRootWindow( &x , &y ) ;
Point pt = { y ,x } ;
for ( index = 0 ; index < m_macToolHandles.Count() ; ++index )
{
if ( m_macToolHandles[index] )
for ( index = 0 ; index < m_macToolHandles.Count() ; ++index )
{
if ( m_macToolHandles[index] )
dc.YLOG2DEVMAC(m_height) , dc.XLOG2DEVMAC(m_width) } ;
UMADrawThemePlacard( &toolbarrect , IsEnabled() ? kThemeStateActive : kThemeStateInactive) ;
{
dc.YLOG2DEVMAC(m_height) , dc.XLOG2DEVMAC(m_width) } ;
UMADrawThemePlacard( &toolbarrect , IsEnabled() ? kThemeStateActive : kThemeStateInactive) ;
{
for ( index = 0 ; index < m_macToolHandles.Count() ; ++index )
{
if ( m_macToolHandles[index] )
for ( index = 0 ; index < m_macToolHandles.Count() ; ++index )
{
if ( m_macToolHandles[index] )