mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 11:00:48 +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
|
@ -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…
Add table
Add a link
Reference in a new issue