#include "wx/wx.h"
#endif
-#include "wx/bitmap.h"
-
#include "wx/mac/uma.h"
#include "wx/geometry.h"
int mac_x = position.x;
int mac_y = position.y;
- if ( ! GetToolBar()->MacGetTopLevelWindow()->MacUsesCompositing() )
- {
- GetToolBar()->MacWindowToRootWindow( &x, &y );
- mac_x += x;
- mac_y += y;
- }
-
if ( IsButton() )
{
Rect contrlRect;