From: Mattia Barbon Date: Sat, 1 May 2004 17:00:40 +0000 (+0000) Subject: Precompiled headers support. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1248b41f9f71110347659db8c54c75786eba23c6 Precompiled headers support. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/motif/accel.cpp b/src/motif/accel.cpp index 31a790d997..230b9fb6c5 100644 --- a/src/motif/accel.cpp +++ b/src/motif/accel.cpp @@ -13,6 +13,9 @@ #pragma implementation "accel.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/setup.h" #include "wx/accel.h" #include "wx/string.h" diff --git a/src/motif/app.cpp b/src/motif/app.cpp index d17e8fc734..d5ec44f979 100644 --- a/src/motif/app.cpp +++ b/src/motif/app.cpp @@ -13,6 +13,9 @@ #pragma implementation "app.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtParent XTPARENT #define XtDisplay XTDISPLAY diff --git a/src/motif/bmpbuttn.cpp b/src/motif/bmpbuttn.cpp index 00da6290fa..d684d7b77b 100644 --- a/src/motif/bmpbuttn.cpp +++ b/src/motif/bmpbuttn.cpp @@ -13,6 +13,9 @@ #pragma implementation "bmpbuttn.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtScreen XTSCREEN #endif diff --git a/src/motif/bmpmotif.cpp b/src/motif/bmpmotif.cpp index 2ceb292b7f..e588d19a87 100644 --- a/src/motif/bmpmotif.cpp +++ b/src/motif/bmpmotif.cpp @@ -13,6 +13,9 @@ #pragma implementation "bmpmotif.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtParent XTPARENT #define XtDisplay XTDISPLAY diff --git a/src/motif/button.cpp b/src/motif/button.cpp index 8de8071092..c8bdc6af89 100644 --- a/src/motif/button.cpp +++ b/src/motif/button.cpp @@ -13,6 +13,9 @@ #pragma implementation "button.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/motif/checkbox.cpp b/src/motif/checkbox.cpp index 927b508123..dea61e497e 100644 --- a/src/motif/checkbox.cpp +++ b/src/motif/checkbox.cpp @@ -13,6 +13,9 @@ #pragma implementation "checkbox.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/motif/checklst.cpp b/src/motif/checklst.cpp index be02853203..84a057a818 100644 --- a/src/motif/checklst.cpp +++ b/src/motif/checklst.cpp @@ -17,6 +17,9 @@ #pragma implementation "checklst.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/defs.h" #include "wx/checklst.h" diff --git a/src/motif/choice.cpp b/src/motif/choice.cpp index fbc5fdc03e..6a24190b8e 100644 --- a/src/motif/choice.cpp +++ b/src/motif/choice.cpp @@ -13,6 +13,9 @@ #pragma implementation "choice.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtDisplay XTDISPLAY #define XtParent XTPARENT diff --git a/src/motif/clipbrd.cpp b/src/motif/clipbrd.cpp index 6d13b5b35c..2f8d636d09 100644 --- a/src/motif/clipbrd.cpp +++ b/src/motif/clipbrd.cpp @@ -14,6 +14,9 @@ #pragma implementation "clipbrd.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #include "wx/vms_x_fix.h" #define XtWindow XTWINDOW diff --git a/src/motif/colour.cpp b/src/motif/colour.cpp index a5c18f05e4..17a8a4e72b 100644 --- a/src/motif/colour.cpp +++ b/src/motif/colour.cpp @@ -16,6 +16,9 @@ #pragma implementation "colour.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/gdicmn.h" #include "wx/colour.h" #include "wx/app.h" diff --git a/src/motif/combobox.cpp b/src/motif/combobox.cpp index 4389cc1f00..9e052ac94e 100644 --- a/src/motif/combobox.cpp +++ b/src/motif/combobox.cpp @@ -13,6 +13,9 @@ #pragma implementation "combobox.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/setup.h" #if wxUSE_COMBOBOX diff --git a/src/motif/combobox_native.cpp b/src/motif/combobox_native.cpp index 0d588f0911..f610a3bfab 100644 --- a/src/motif/combobox_native.cpp +++ b/src/motif/combobox_native.cpp @@ -9,6 +9,9 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/setup.h" #if wxUSE_COMBOBOX diff --git a/src/motif/control.cpp b/src/motif/control.cpp index e6d45853c9..11cfb4793c 100644 --- a/src/motif/control.cpp +++ b/src/motif/control.cpp @@ -13,6 +13,9 @@ #pragma implementation "control.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/defs.h" #include "wx/control.h" diff --git a/src/motif/cursor.cpp b/src/motif/cursor.cpp index 024e67d2ac..76d242f82f 100644 --- a/src/motif/cursor.cpp +++ b/src/motif/cursor.cpp @@ -13,6 +13,9 @@ #pragma implementation "cursor.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/cursor.h" #include "wx/app.h" #include "wx/utils.h" diff --git a/src/motif/dataobj.cpp b/src/motif/dataobj.cpp index debae5252f..fc9896cda8 100644 --- a/src/motif/dataobj.cpp +++ b/src/motif/dataobj.cpp @@ -11,6 +11,9 @@ #pragma implementation "dataobj.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/defs.h" #if wxUSE_CLIPBOARD diff --git a/src/motif/dc.cpp b/src/motif/dc.cpp index 9eacd3404f..32ce97426a 100644 --- a/src/motif/dc.cpp +++ b/src/motif/dc.cpp @@ -13,6 +13,9 @@ #pragma implementation "dc.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/dc.h" #include "wx/dcmemory.h" #include "wx/defs.h" diff --git a/src/motif/dcclient.cpp b/src/motif/dcclient.cpp index 914b32f18b..4bbab04cea 100644 --- a/src/motif/dcclient.cpp +++ b/src/motif/dcclient.cpp @@ -40,6 +40,9 @@ #pragma implementation "dcclient.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/dcclient.h" #include "wx/dcmemory.h" #include "wx/window.h" diff --git a/src/motif/dcmemory.cpp b/src/motif/dcmemory.cpp index 3dd666c700..ce07b8fdd8 100644 --- a/src/motif/dcmemory.cpp +++ b/src/motif/dcmemory.cpp @@ -13,6 +13,9 @@ #pragma implementation "dcmemory.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/dcmemory.h" #include "wx/settings.h" #include "wx/utils.h" diff --git a/src/motif/dcscreen.cpp b/src/motif/dcscreen.cpp index 62d1cbc8b8..71f3c01e54 100644 --- a/src/motif/dcscreen.cpp +++ b/src/motif/dcscreen.cpp @@ -13,6 +13,9 @@ #pragma implementation "dcscreen.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/window.h" #include "wx/frame.h" #include "wx/dcscreen.h" diff --git a/src/motif/dialog.cpp b/src/motif/dialog.cpp index 443f7e9a78..28922a01dd 100644 --- a/src/motif/dialog.cpp +++ b/src/motif/dialog.cpp @@ -13,6 +13,9 @@ #pragma implementation "dialog.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtDisplay XTDISPLAY #define XtWindow XTWINDOW diff --git a/src/motif/dnd.cpp b/src/motif/dnd.cpp index 9ed4df67e6..8caa37f18b 100644 --- a/src/motif/dnd.cpp +++ b/src/motif/dnd.cpp @@ -11,6 +11,9 @@ #pragma implementation "dnd.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/setup.h" #if wxUSE_DRAG_AND_DROP diff --git a/src/motif/filedlg.cpp b/src/motif/filedlg.cpp index bcf6784fca..c244836db6 100644 --- a/src/motif/filedlg.cpp +++ b/src/motif/filedlg.cpp @@ -13,6 +13,9 @@ #pragma implementation "filedlg.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtDisplay XTDISPLAY #define XtParent XTPARENT diff --git a/src/motif/font.cpp b/src/motif/font.cpp index 06637b118d..0c82eed410 100644 --- a/src/motif/font.cpp +++ b/src/motif/font.cpp @@ -21,6 +21,9 @@ #pragma implementation "font.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/defs.h" #ifdef __VMS diff --git a/src/motif/frame.cpp b/src/motif/frame.cpp index 22ec6184a3..29cc119131 100644 --- a/src/motif/frame.cpp +++ b/src/motif/frame.cpp @@ -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 diff --git a/src/motif/gauge.cpp b/src/motif/gauge.cpp index 3cd261e8a1..e1e3df3601 100644 --- a/src/motif/gauge.cpp +++ b/src/motif/gauge.cpp @@ -13,6 +13,9 @@ #pragma implementation "gauge.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #include #undef XtDisplay diff --git a/src/motif/icon.cpp b/src/motif/icon.cpp index 692175a812..2006a62b4e 100644 --- a/src/motif/icon.cpp +++ b/src/motif/icon.cpp @@ -13,6 +13,9 @@ #pragma implementation "icon.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/icon.h" IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxBitmap); diff --git a/src/motif/listbox.cpp b/src/motif/listbox.cpp index 1ad6566347..47016d85bc 100644 --- a/src/motif/listbox.cpp +++ b/src/motif/listbox.cpp @@ -13,6 +13,9 @@ #pragma implementation "listbox.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtParent XTPARENT #define XtDisplay XTDISPLAY diff --git a/src/motif/mdi.cpp b/src/motif/mdi.cpp index 87a201a0e2..22a20fb5e8 100644 --- a/src/motif/mdi.cpp +++ b/src/motif/mdi.cpp @@ -13,6 +13,9 @@ #pragma implementation "mdi.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtDisplay XTDISPLAY #define XtWindow XTWINDOW diff --git a/src/motif/menu.cpp b/src/motif/menu.cpp index 2b2113f171..e2cefa286f 100644 --- a/src/motif/menu.cpp +++ b/src/motif/menu.cpp @@ -22,6 +22,9 @@ // headers // ---------------------------------------------------------------------------- +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/defs.h" #include "wx/menu.h" diff --git a/src/motif/menuitem.cpp b/src/motif/menuitem.cpp index e0e9cb9a52..e632f72dea 100644 --- a/src/motif/menuitem.cpp +++ b/src/motif/menuitem.cpp @@ -21,6 +21,9 @@ // headers // ---------------------------------------------------------------------------- +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/defs.h" #include "wx/menu.h" diff --git a/src/motif/msgdlg.cpp b/src/motif/msgdlg.cpp index cbc30128a0..0a03aabe8b 100644 --- a/src/motif/msgdlg.cpp +++ b/src/motif/msgdlg.cpp @@ -21,6 +21,9 @@ // headers // ---------------------------------------------------------------------------- +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/defs.h" #ifdef __VMS diff --git a/src/motif/palette.cpp b/src/motif/palette.cpp index ff67a7ff33..7ede19b4c9 100644 --- a/src/motif/palette.cpp +++ b/src/motif/palette.cpp @@ -38,6 +38,9 @@ not the functionality that wxPalette::Create() aims to provide. #pragma implementation "palette.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/palette.h" #include "wx/window.h" #include "wx/app.h" diff --git a/src/motif/popupwin.cpp b/src/motif/popupwin.cpp index b3ce905e52..8d4ce0915d 100644 --- a/src/motif/popupwin.cpp +++ b/src/motif/popupwin.cpp @@ -13,6 +13,9 @@ #pragma implementation "popup.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/popupwin.h" #include "wx/app.h" diff --git a/src/motif/radiobox.cpp b/src/motif/radiobox.cpp index 774c4df47c..c21d758ecd 100644 --- a/src/motif/radiobox.cpp +++ b/src/motif/radiobox.cpp @@ -13,6 +13,9 @@ #pragma implementation "radiobox.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/motif/radiobut.cpp b/src/motif/radiobut.cpp index b633e9cb20..629a007915 100644 --- a/src/motif/radiobut.cpp +++ b/src/motif/radiobut.cpp @@ -13,6 +13,9 @@ #pragma implementation "radiobut.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/motif/scrolbar.cpp b/src/motif/scrolbar.cpp index ff018e26b2..3d17e927af 100644 --- a/src/motif/scrolbar.cpp +++ b/src/motif/scrolbar.cpp @@ -13,6 +13,9 @@ #pragma implementation "scrolbar.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/defs.h" #include "wx/scrolbar.h" diff --git a/src/motif/settings.cpp b/src/motif/settings.cpp index 25bcfddc02..054bc38821 100644 --- a/src/motif/settings.cpp +++ b/src/motif/settings.cpp @@ -17,6 +17,9 @@ #pragma implementation "settings.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/settings.h" #include "wx/gdicmn.h" #include "wx/app.h" diff --git a/src/motif/slider.cpp b/src/motif/slider.cpp index c0eee32152..e11f1bb9ce 100644 --- a/src/motif/slider.cpp +++ b/src/motif/slider.cpp @@ -13,6 +13,9 @@ #pragma implementation "slider.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/slider.h" #include "wx/utils.h" diff --git a/src/motif/spinbutt.cpp b/src/motif/spinbutt.cpp index edd15fa3c9..ca3a6e2af1 100644 --- a/src/motif/spinbutt.cpp +++ b/src/motif/spinbutt.cpp @@ -13,6 +13,9 @@ #pragma implementation "spinbutt.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/spinbutt.h" #include "wx/spinctrl.h" #include "wx/timer.h" diff --git a/src/motif/statbmp.cpp b/src/motif/statbmp.cpp index 1226a83f61..215a77c3d3 100644 --- a/src/motif/statbmp.cpp +++ b/src/motif/statbmp.cpp @@ -13,6 +13,9 @@ #pragma implementation "statbmp.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/defs.h" #include "wx/statbmp.h" diff --git a/src/motif/statbox.cpp b/src/motif/statbox.cpp index 0c3d210a5e..5bdf05ea04 100644 --- a/src/motif/statbox.cpp +++ b/src/motif/statbox.cpp @@ -13,6 +13,9 @@ #pragma implementation "statbox.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/motif/stattext.cpp b/src/motif/stattext.cpp index db5721cc84..2e0b136205 100644 --- a/src/motif/stattext.cpp +++ b/src/motif/stattext.cpp @@ -13,6 +13,9 @@ #pragma implementation "stattext.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/motif/textctrl.cpp b/src/motif/textctrl.cpp index 53f5a047ca..090da09f5a 100644 --- a/src/motif/textctrl.cpp +++ b/src/motif/textctrl.cpp @@ -21,6 +21,9 @@ #pragma implementation "textctrl.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtParent XTPARENT #endif diff --git a/src/motif/timer.cpp b/src/motif/timer.cpp index f4ef797df6..ef99ffeed0 100644 --- a/src/motif/timer.cpp +++ b/src/motif/timer.cpp @@ -13,6 +13,9 @@ #pragma implementation "timer.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/timer.h" #include "wx/app.h" #include "wx/hashmap.h" diff --git a/src/motif/toolbar.cpp b/src/motif/toolbar.cpp index 4078d2eefe..00da4412b6 100644 --- a/src/motif/toolbar.cpp +++ b/src/motif/toolbar.cpp @@ -21,6 +21,9 @@ #pragma implementation "toolbar.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/motif/toplevel.cpp b/src/motif/toplevel.cpp index d99fa360b0..a46d5170bc 100644 --- a/src/motif/toplevel.cpp +++ b/src/motif/toplevel.cpp @@ -21,6 +21,9 @@ #pragma implementation "toplevel.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/toplevel.h" #include "wx/app.h" diff --git a/src/motif/utils.cpp b/src/motif/utils.cpp index 77bdbe3d6b..6fd4988224 100644 --- a/src/motif/utils.cpp +++ b/src/motif/utils.cpp @@ -17,9 +17,13 @@ // headers // ---------------------------------------------------------------------------- +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtDisplay XTDISPLAY #endif + #include "wx/setup.h" #include "wx/utils.h" #include "wx/apptrait.h" diff --git a/src/motif/window.cpp b/src/motif/window.cpp index a50692831c..f6fa06cdba 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -21,6 +21,9 @@ #pragma implementation "window.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtDisplay XTDISPLAY #define XtWindow XTWINDOW