git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18298
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
wxMacControlActionUPP = NewControlDefUPP( wxMacControlDefintion ) ;
}
+ // The following block of code is responsible for crashes when switching
+ // back to windows, which can be seen in the dialogs sample.
+ // It is disabled until a proper solution can be found.
+#if 0
#if TARGET_CARBON
/*
only working under classic carbon
(**cdef).function = (void(*)()) wxMacControlActionUPP;
(**(ControlHandle)m_macControl).contrlDefProc = (Handle) cdef ;
}
+#endif
#endif
SetControlColorProc( (ControlHandle) m_macControl , wxMacSetupControlBackgroundUPP ) ;
{
wxMacControlActionUPP = NewControlDefUPP( wxMacControlDefintion ) ;
}
+ // The following block of code is responsible for crashes when switching
+ // back to windows, which can be seen in the dialogs sample.
+ // It is disabled until a proper solution can be found.
+#if 0
#if TARGET_CARBON
/*
only working under classic carbon
(**cdef).function = (void(*)()) wxMacControlActionUPP;
(**(ControlHandle)m_macControl).contrlDefProc = (Handle) cdef ;
}
+#endif
#endif
SetControlColorProc( (ControlHandle) m_macControl , wxMacSetupControlBackgroundUPP ) ;