mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-22 19:01:04 +00:00
* EOControl/EOClassDescription.m ([EOClassDescription +initialize]):
initialize (if present) the default model group. This helps +classDescriptionFor* to work correctly. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@16163 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
04b282d802
commit
91ccffa864
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2003-03-12 Mirko Viviani <mirko.viviani@rccr.cremona.it>
|
||||||
|
|
||||||
|
* EOControl/EOClassDescription.m ([EOClassDescription +initialize]):
|
||||||
|
initialize (if present) the default model group. This helps
|
||||||
|
+classDescriptionFor* to work correctly.
|
||||||
|
|
||||||
2003-03-06 David Ayers <d.ayers@inode.at>
|
2003-03-06 David Ayers <d.ayers@inode.at>
|
||||||
|
|
||||||
* config/postgres.m4: Updated CPPFLAGS and LIBS to account for
|
* config/postgres.m4: Updated CPPFLAGS and LIBS to account for
|
||||||
|
|
|
@ -82,6 +82,14 @@ static id classDelegate = nil;
|
||||||
classDescriptionForEntity = NSCreateMapTable(NSObjectMapKeyCallBacks,
|
classDescriptionForEntity = NSCreateMapTable(NSObjectMapKeyCallBacks,
|
||||||
NSObjectMapValueCallBacks,
|
NSObjectMapValueCallBacks,
|
||||||
32);
|
32);
|
||||||
|
|
||||||
|
if (self == [EOClassDescription class])
|
||||||
|
{
|
||||||
|
Class cls = NSClassFromString(@"EOModelGroup");
|
||||||
|
|
||||||
|
if (cls != Nil)
|
||||||
|
[cls defaultGroup]; // Insure correct initialization.
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue