diff options
author | Stuart Connolly <stuart02@gmail.com> | 2013-12-01 14:03:03 +0000 |
---|---|---|
committer | Stuart Connolly <stuart02@gmail.com> | 2013-12-01 14:03:03 +0000 |
commit | 750cc1e5433641ea2b7e03da9523549c62f142d0 (patch) | |
tree | d626774909a3886fb62a5895be80b1a11ac87620 | |
parent | 0a336a7123f411d5ffc68019bf8b5c3a360551b9 (diff) | |
download | sequelpro-750cc1e5433641ea2b7e03da9523549c62f142d0.tar.gz sequelpro-750cc1e5433641ea2b7e03da9523549c62f142d0.tar.bz2 sequelpro-750cc1e5433641ea2b7e03da9523549c62f142d0.zip |
Suppress compiler warning by addind unhandled enumerations.
-rw-r--r-- | Source/BGHUDButtonCell.m | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/Source/BGHUDButtonCell.m b/Source/BGHUDButtonCell.m index 329af84e..fac1dc4a 100644 --- a/Source/BGHUDButtonCell.m +++ b/Source/BGHUDButtonCell.m @@ -135,11 +135,23 @@ case NSRecessedBezelStyle: [self drawRecessedButtonInFrame: cellFrame]; break; + case NSRegularSquareBezelStyle: + case NSThickSquareBezelStyle: + case NSThickerSquareBezelStyle: + case NSDisclosureBezelStyle: + case NSShadowlessSquareBezelStyle: + case NSCircularBezelStyle: + case NSTexturedSquareBezelStyle: + case NSHelpButtonBezelStyle: + case NSRoundedDisclosureBezelStyle: + case NSInlineBezelStyle: + // Don't do anything, just to suppress compiler warning + break; } - if(buttonType == NSSwitchButton || buttonType == NSRadioButton) { + if (buttonType == NSSwitchButton || buttonType == NSRadioButton) { - if([self imagePosition] != NSNoImage) { + if ([self imagePosition] != NSNoImage) { [self drawImage: [self image] withFrame: cellFrame inView: [self controlView]]; } |