projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
adjust Blit destination rect if source rect is clipped
[wxWidgets.git]
/
src
/
univ
/
toolbar.cpp
diff --git
a/src/univ/toolbar.cpp
b/src/univ/toolbar.cpp
index 44c188fba3711c97394b28ef6e9a7fc789bda4b7..da03781e9c06d6d37a9341225c66bdce9fc7dd03 100644
(file)
--- a/
src/univ/toolbar.cpp
+++ b/
src/univ/toolbar.cpp
@@
-292,7
+292,7
@@
void wxToolBar::DoEnableTool(wxToolBarToolBase *tool, bool enable)
{
#if wxUSE_IMAGE
// created disabled-state bitmap on demand
- if ( !enable && !tool->GetDisabledBitmap().Ok() )
+ if ( !enable && !tool->GetDisabledBitmap().
Is
Ok() )
{
wxImage image(tool->GetNormalBitmap().ConvertToImage());