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()