fix for 1742682

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2008-03-06 18:02:21 +00:00
parent 5949c5068f
commit 6262f74563

View File

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