]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/window.cpp
bakefile-generated makefiles for the sample
[wxWidgets.git] / src / motif / window.cpp
index e553ef1ef25b468880f085fd61a1bf277d40715d..f3b68b1d3f5c8e2c34fd5d9a76be1e5c7d8bf378 100644 (file)
 #define XtScreen XTSCREEN
 #endif
 
+#ifndef WX_PRECOMP
+    #include "wx/hash.h"
+    #include "wx/log.h"
+    #include "wx/app.h"
+    #include "wx/utils.h"
+    #include "wx/frame.h"
+    #include "wx/dc.h"
+    #include "wx/dcclient.h"
+#endif
+
 #include "wx/menu.h"
-#include "wx/dc.h"
-#include "wx/dcclient.h"
-#include "wx/utils.h"
-#include "wx/app.h"
 #include "wx/layout.h"
 #include "wx/button.h"
 #include "wx/settings.h"
-#include "wx/frame.h"
 #include "wx/scrolwin.h"
 #include "wx/module.h"
 #include "wx/menuitem.h"
-#include "wx/log.h"
 #include "wx/evtloop.h"
-#include "wx/hash.h"
 
 #if  wxUSE_DRAG_AND_DROP
     #include "wx/dnd.h"
@@ -1247,6 +1250,7 @@ void wxWindow::DoSetSizeIntr(int x, int y, int width, int height,
 {
     // A bit of optimization to help sort out the flickers.
     int oldX = -1, oldY = -1, oldW = -1, oldH = -1;
+
     if( !fromCtor )
     {
         GetSize(& oldW, & oldH);