projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add wxAppConsoleBase::OnEventLoopEnter/Exit callbacks; add wxEventLoopBase::IsMain...
[wxWidgets.git]
/
src
/
gtk1
/
bmpbuttn.cpp
diff --git
a/src/gtk1/bmpbuttn.cpp
b/src/gtk1/bmpbuttn.cpp
index a814ea7a317838d0057c72c6fc352753eba88be7..d65eaae68aa84446118a1c5af773b51f620e7610 100644
(file)
--- a/
src/gtk1/bmpbuttn.cpp
+++ b/
src/gtk1/bmpbuttn.cpp
@@
-206,7
+206,7
@@
void wxBitmapButton::OnSetBitmap()
if (!the_one.Ok()) the_one = m_bmpNormal;
if (!the_one.Ok()) return;
- GdkBitmap *mask =
(GdkBitmap *)
NULL;
+ GdkBitmap *mask = NULL;
if (the_one.GetMask()) mask = the_one.GetMask()->GetBitmap();
GtkWidget *child = BUTTON_CHILD(m_widget);