mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 14:30:54 +00:00
Corrected preprocessor compilation problem w/ NSOutlineView and NSToolbar
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14507 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d1780257ae
commit
b91e0079e4
3 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-09-21 18:54 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSOutlineView.m corrected preprocessor error messages.
|
||||
* Source/NSToolbar.m corrected preprocessor error messages.
|
||||
|
||||
2002-09-21 17:48 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/NSFontPanel.m (-_familySelectionChanged:, score_difference):
|
||||
|
|
|
@ -719,9 +719,9 @@ static NSImage *unexpandable = nil;
|
|||
- (void) setDataSource: (id)anObject
|
||||
{
|
||||
#define CHECK_REQUIRED_METHOD(selector_name) \
|
||||
if (![anObject respondsToSelector: @selector(##selector_name)]) \
|
||||
if (![anObject respondsToSelector: @selector(selector_name)]) \
|
||||
[NSException raise: NSInternalInconsistencyException \
|
||||
format: @"data source does not respond to ##selector_name"]
|
||||
format: @"data source does not respond to %@", @#selector_name]
|
||||
|
||||
CHECK_REQUIRED_METHOD(outlineView:child:ofItem:);
|
||||
CHECK_REQUIRED_METHOD(outlineView:isItemExpandable:);
|
||||
|
|
|
@ -227,9 +227,9 @@ static const int current_version = 1;
|
|||
- (void) setDelegate: (id)anObject
|
||||
{
|
||||
#define CHECK_REQUIRED_METHOD(selector_name) \
|
||||
if (![anObject respondsToSelector: @selector(##selector_name)]) \
|
||||
if (![anObject respondsToSelector: @selector(selector_name)]) \
|
||||
[NSException raise: NSInternalInconsistencyException \
|
||||
format: @"delegate does not respond to ##selector_name"]
|
||||
format: @"delegate does not respond to %@",@#selector_name]
|
||||
|
||||
CHECK_REQUIRED_METHOD(toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:);
|
||||
CHECK_REQUIRED_METHOD(toolbarAllowedItemIdentifiers:);
|
||||
|
|
Loading…
Reference in a new issue