projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed saving GIFs on big-endian architectures.
[wxWidgets.git]
/
samples
/
toolbar
/
toolbar.cpp
diff --git
a/samples/toolbar/toolbar.cpp
b/samples/toolbar/toolbar.cpp
index 180ac7ccd468ff621ee2843ef0967a9357ff5f49..6f8327a9113b207e4b5fc054ece35ecabcd7036c 100644
(file)
--- a/
samples/toolbar/toolbar.cpp
+++ b/
samples/toolbar/toolbar.cpp
@@
-494,7
+494,7
@@
void MyFrame::PopulateToolbar(wxToolBarBase* toolBar)
{
// create a tool with a custom bitmap for testing
wxImage img(m_pathBmp);
- if ( img.Ok() )
+ if ( img.
Is
Ok() )
{
if ( img.GetWidth() > w && img.GetHeight() > h )
img = img.GetSubImage(wxRect(0, 0, w, h));