X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bb5f7ca77ef595739b963958e04fc8d5b8aa1c37..e42e45a9ddf8b220a91ede9f81acbb9b6e333678:/src/mac/cdef/extcdef.c diff --git a/src/mac/cdef/extcdef.c b/src/mac/cdef/extcdef.c deleted file mode 100644 index 0e21b457a1..0000000000 --- a/src/mac/cdef/extcdef.c +++ /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 */ -}