we're always compositing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -392,13 +392,6 @@ void wxToolBarTool::SetPosition( const wxPoint& position )
|
|||||||
int mac_x = position.x;
|
int mac_x = position.x;
|
||||||
int mac_y = position.y;
|
int mac_y = position.y;
|
||||||
|
|
||||||
if ( ! GetToolBar()->MacGetTopLevelWindow()->MacUsesCompositing() )
|
|
||||||
{
|
|
||||||
GetToolBar()->MacWindowToRootWindow( &x, &y );
|
|
||||||
mac_x += x;
|
|
||||||
mac_y += y;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( IsButton() )
|
if ( IsButton() )
|
||||||
{
|
{
|
||||||
Rect contrlRect;
|
Rect contrlRect;
|
||||||
|
Reference in New Issue
Block a user