]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/frame.cpp
-1->wxID_ANY, TRUE->true and FALSE->false replacements.
[wxWidgets.git] / src / motif / frame.cpp
index 22ec6184a32af87bc2785f70a58cd5a2fb01381c..7b325f41da6f8e4c12d93e87c6500e3d0318187c 100644 (file)
@@ -21,6 +21,8 @@
     #pragma implementation "frame.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
 
 #ifdef __VMS
 #define XtDisplay XTDISPLAY
@@ -353,7 +355,12 @@ void wxFrame::DoGetClientSize(int *x, int *y) const
             yy -= tbh;
     }
 #endif // wxUSE_TOOLBAR
-    *x = xx; *y = yy;
+
+//CE found a call here with NULL y pointer
+    if (x)
+        *x = xx; 
+    if (y)
+        *y = yy;
 }
 
 // Set the client size (i.e. leave the calculation of borders etc.