projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixing file paths after renaming
[wxWidgets.git]
/
src
/
motif
/
mdi
/
lib
/
XsMotifWindow.C
diff --git
a/src/motif/mdi/lib/XsMotifWindow.C
b/src/motif/mdi/lib/XsMotifWindow.C
index a3b895fc1aa8dfafd9ad4d4ddfd6db965d7f492c..7f9e45a4a0406e1cbed81cf346ea27340347a284 100644
(file)
--- a/
src/motif/mdi/lib/XsMotifWindow.C
+++ b/
src/motif/mdi/lib/XsMotifWindow.C
@@
-375,6
+375,9
@@
void _XsMotifCorner::_expose (XEvent*)
{
Dimension w, h;
{
Dimension w, h;
+ if (_topShadowGC == 0) // JACS
+ return;
+
// Get the size of the corner
XtVaGetValues (_base, XmNwidth, &w, XmNheight, &h, NULL);
// Get the size of the corner
XtVaGetValues (_base, XmNwidth, &w, XmNheight, &h, NULL);
@@
-612,6
+615,8
@@
const char *_XsMotifSide::className ( ) const
void _XsMotifSide::_expose (XEvent *event)
{
void _XsMotifSide::_expose (XEvent *event)
{
+ if (_topShadowGC == 0) // JACS
+ return;
// Clear out the window first
// Clear out the window first
@@
-847,6
+852,9
@@
const char *_XsMotifButton::className ( ) const
void _XsMotifButton::_expose (XEvent *event)
{
void _XsMotifButton::_expose (XEvent *event)
{
+ if (_topShadowGC == 0) // JACS
+ return;
+
Dimension w, h;
// Get the size of the button
Dimension w, h;
// Get the size of the button
@@
-1152,6
+1160,8
@@
void _XsMotifTitle::_redraw ( )
void _XsMotifTitle::_expose (XEvent *event)
{
void _XsMotifTitle::_expose (XEvent *event)
{
+ if (_topShadowGC == 0) // JACS
+ return;
// Clear out the window first
// Clear out the window first
@@
-1646,6
+1656,9
@@
void _XsMotifIcon::_input (XEvent *event)
void _XsMotifIcon::_expose (XEvent *)
{
void _XsMotifIcon::_expose (XEvent *)
{
+ if (_topShadowGC == 0) // JACS
+ return;
+
Dimension iconHeight;
Dimension iconWidth;
Dimension iconHeight;
Dimension iconWidth;