projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed wxSpinCtrl's client size computation in wxMSW to return something sensible
[wxWidgets.git]
/
samples
/
opengl
/
cube
/
cube.cpp
diff --git
a/samples/opengl/cube/cube.cpp
b/samples/opengl/cube/cube.cpp
index ac4ea822404d374727ad34aa3b88e7741c853a6f..411979b571040299f32c67cbb9e7c7ea29ebe31c 100644
(file)
--- a/
samples/opengl/cube/cube.cpp
+++ b/
samples/opengl/cube/cube.cpp
@@
-304,7
+304,7
@@
void TestGLCanvas::OnSize(wxSizeEvent& event)
// don't prevent default processing from taking place
event.Skip();
- if ( !IsShown() )
+ if ( !IsShown
OnScreen
() )
return;
// set GL viewport (not called by wxGLCanvas::OnSize on all platforms...)