]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/cdef/extcdef.h
wxMSW update for CW, wxMac updated
[wxWidgets.git] / src / mac / cdef / extcdef.h
diff --git a/src/mac/cdef/extcdef.h b/src/mac/cdef/extcdef.h
new file mode 100644 (file)
index 0000000..2c7bf88
--- /dev/null
@@ -0,0 +1,21 @@
+#pragma once
+
+#include <stdlib.h>
+#define kExtCDEFID 128 // resource id of our CDEF resource <Controls.h>
+const long kExtCDEFMagic = 0xFEEDFEED ; 
+typedef struct ExtCDEFInfo
+{
+       ControlDefProcPtr               defProc ; // this must always be the lowest element
+       long                                                            magic ;
+       long                                                            contrlRfCon ;
+       ControlHandle                           containerControl ;
+       Handle                                                  children ;
+       ControlFontStyleRec fontStyle ;
+       Boolean                                                 hasFocus ;
+       SInt16                                                  procID ;
+       long                                                            privateData ;
+} ExtCDEFInfo ;
+
+void NewExtCDEFInfo( ControlHandle theControl , ControlDefProcPtr defproc , SInt16 procID , long refcon ) ;
+void DisposeExtCDEFInfo( ControlHandle theControl) ;