From 6262f745636f120164b2d73d34c5cc8a7aded8f8 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 6 Mar 2008 18:02:21 +0000 Subject: [PATCH] fix for 1742682 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/toolbar.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mac/carbon/toolbar.cpp b/src/mac/carbon/toolbar.cpp index 6100c10b56..e66caf7141 100644 --- a/src/mac/carbon/toolbar.cpp +++ b/src/mac/carbon/toolbar.cpp @@ -88,8 +88,13 @@ public: : wxToolBarToolBase(tbar, control) { Init(); +#if 0 +// TODO REMOVE if no other problems arise, embedded controls should +// not be mistaken for simple tools + if (control != NULL) SetControlHandle( (ControlRef) control->GetHandle() ); +#endif } virtual ~wxToolBarTool()