projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor corrections to the documentations.
[wxWidgets.git]
/
src
/
generic
/
statbmpg.cpp
diff --git
a/src/generic/statbmpg.cpp
b/src/generic/statbmpg.cpp
index 9927e10606e9d3dc73cbeff15a29bf708a0ce955..8f6701dccb57f78a11e32794e57ac862bd0edd5f 100644
(file)
--- a/
src/generic/statbmpg.cpp
+++ b/
src/generic/statbmpg.cpp
@@
-36,8
+36,7
@@
bool wxGenericStaticBitmap::Create(wxWindow *parent, wxWindowID id,
void wxGenericStaticBitmap::OnPaint(wxPaintEvent& WXUNUSED(event))
{
wxPaintDC dc(this);
- PrepareDC(dc);
- if (m_bitmap.Ok())
+ if (m_bitmap.IsOk())
dc.DrawBitmap(m_bitmap, 0, 0, true);
}