]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/cdef/extcdef.c
removed subprojects for ldef and cdef, changed to in-proc ldef
[wxWidgets.git] / src / mac / cdef / extcdef.c
diff --git a/src/mac/cdef/extcdef.c b/src/mac/cdef/extcdef.c
deleted file mode 100644 (file)
index 0e21b45..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#include "extcdef.h"  
-
-/*************************************************************************
-
-       main
-
-*************************************************************************/
-
-pascal SInt32 main(SInt16 varCode , ControlHandle theControl , ControlDefProcMessage message, SInt32 param )
-{
-       long    returnValue = 0L;
-       char    state = HGetState((Handle)theControl);
-       
-       if ( message != initCntl )
-       {
-               ExtCDEFInfo* info = (ExtCDEFInfo* )  (**theControl).contrlRfCon ;
-               if ( info )
-               {
-                       returnValue =   info->defProc( info->procID, theControl, message, param) ;
-               }
-       }
-       else
-       {
-                (**theControl).contrlRfCon = NULL ;
-       }
-       HSetState((Handle)theControl,state);
-
-       return(returnValue);                            /* tell them what happened */
-}