]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/window.cpp
First pass at integrating a code generator in XRCed. Initial patch
[wxWidgets.git] / src / motif / window.cpp
index ab65b8786c163e5411684fa143737edaf9780213..cea79f107fe2c1d6706ee468404ac3d712265303 100644 (file)
@@ -26,7 +26,6 @@
 #define XtScreen XTSCREEN
 #endif
 
-#include "wx/setup.h"
 #include "wx/menu.h"
 #include "wx/dc.h"
 #include "wx/dcclient.h"
@@ -2492,7 +2491,7 @@ void wxWindow::ChangeFont(bool keepOriginalSize)
         GetSize(& width1, & height1);
         if (keepOriginalSize && (width != width1 || height != height1))
         {
-            SetSize(-1, -1, width, height);
+            SetSize(wxDefaultCoord, wxDefaultCoord, width, height);
         }
     }
 }