diff options
| author | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-10-03 03:58:07 +0000 |
|---|---|---|
| committer | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-10-03 03:58:07 +0000 |
| commit | 987cf7cc40d4ab9c5e895ea2b0c7a77f10a0510f (patch) | |
| tree | a62d2ea4cc1c813f87ca4e257fb5641891ed81a1 /src/Texture.cc | |
| parent | efd6c59c90aeff5bfd2fb76b3085e837aacb0596 (diff) | |
Added style resources for window.button.pressed.focus: and
window.button.pressed.unfocus:
Documentation to be added.
Diffstat (limited to 'src/Texture.cc')
| -rw-r--r-- | src/Texture.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Texture.cc b/src/Texture.cc index 60923316..75283a91 100644 --- a/src/Texture.cc +++ b/src/Texture.cc @@ -184,6 +184,7 @@ BTexture& BTexture::operator=(const BTexture &tt) { Pixmap BTexture::render(const unsigned int width, const unsigned int height, const Pixmap old) { assert(display() != 0); + assert(texture() != BTexture::NoTexture); if (texture() == (BTexture::Flat | BTexture::Solid)) return None; |
