]> git.saurik.com Git - wxWidgets.git/blob - src/mac/cdef/extcdef.h
Simplified sizing code. Sub-windows are now sized explicitly in wxGrid::CalcWindowSi...
[wxWidgets.git] / src / mac / cdef / extcdef.h
1 #pragma once
2
3 #include <stdlib.h>
4
5 #define kExtCDEFID 128 // resource id of our CDEF resource <Controls.h>
6 const long kExtCDEFMagic = 0xFEEDFEED ;
7 typedef struct ExtCDEFInfo
8 {
9 ControlDefProcPtr defProc ; // this must always be the lowest element
10 long magic ;
11 long contrlRfCon ;
12 ControlHandle containerControl ;
13 Handle children ;
14 ControlFontStyleRec fontStyle ;
15 Boolean hasFocus ;
16 SInt16 procID ;
17 long privateData ;
18 } ExtCDEFInfo ;
19
20 void NewExtCDEFInfo( ControlHandle theControl , ControlDefProcPtr defproc , SInt16 procID , long refcon ) ;
21 void DisposeExtCDEFInfo( ControlHandle theControl) ;