diff options
| author | Pietro Gagliardi <[email protected]> | 2014-04-04 21:35:14 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-04-04 21:35:14 -0400 |
| commit | 8c109a0ae96bdbcabf61ea972cceb20b4dd5e2c5 (patch) | |
| tree | f4d3daaec4b4a189e0a398f52aec6014cea54901 /area_darwin.go | |
| parent | 7ea493873cb2be2eac1e6bb08c66a119e489b38e (diff) | |
Updated the Area drawRect: adding error message to look like the ones that come out of the new class system.
Diffstat (limited to 'area_darwin.go')
| -rw-r--r-- | area_darwin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/area_darwin.go b/area_darwin.go index 5353607..c3f7c85 100644 --- a/area_darwin.go +++ b/area_darwin.go @@ -75,7 +75,7 @@ func mkAreaClass() error { // addAreaViewDrawMethod() is in bleh_darwin.m ok := C.addAreaViewDrawMethod(class) if ok != C.BOOL(C.YES) { - return fmt.Errorf("error overriding Area drawRect: method; reason unknown") + return fmt.Errorf("unable to add selector drawRect: to class %s (needed for actually drawing Areas; reason unknown)", __goArea) } _goArea = id return nil |
