From f6045f99ba2bf267172a11f262fea8dedb0a75ee Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Sun, 8 Jul 2001 19:03:21 +0000 Subject: [PATCH] added missing includes after wxUniv merge git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/bmpbuttn.cpp | 2 ++ src/motif/button.cpp | 2 ++ src/motif/checkbox.cpp | 2 ++ src/motif/checklst.cpp | 2 ++ src/motif/choice.cpp | 3 ++- src/motif/control.cpp | 2 ++ src/motif/menu.cpp | 2 ++ src/motif/menuitem.cpp | 2 ++ src/motif/radiobox.cpp | 2 ++ src/motif/radiobut.cpp | 2 ++ src/motif/scrolbar.cpp | 2 ++ src/motif/statbmp.cpp | 2 ++ src/motif/statbox.cpp | 2 ++ src/motif/window.cpp | 4 ++-- 14 files changed, 28 insertions(+), 3 deletions(-) diff --git a/src/motif/bmpbuttn.cpp b/src/motif/bmpbuttn.cpp index 374b8db63b..87bca5cdb1 100644 --- a/src/motif/bmpbuttn.cpp +++ b/src/motif/bmpbuttn.cpp @@ -17,6 +17,8 @@ #define XtScreen XTSCREEN #endif +#include "wx/defs.h" + #include "wx/bmpbuttn.h" #ifdef __VMS__ diff --git a/src/motif/button.cpp b/src/motif/button.cpp index eb0af12804..f9a139b068 100644 --- a/src/motif/button.cpp +++ b/src/motif/button.cpp @@ -17,6 +17,8 @@ #define XtDisplay XTDISPLAY #endif +#include "wx/defs.h" + #include "wx/button.h" #include "wx/utils.h" #include "wx/panel.h" diff --git a/src/motif/checkbox.cpp b/src/motif/checkbox.cpp index f6226acfd4..613052ef21 100644 --- a/src/motif/checkbox.cpp +++ b/src/motif/checkbox.cpp @@ -17,6 +17,8 @@ #define XtDisplay XTDISPLAY #endif +#include "wx/defs.h" + #include "wx/checkbox.h" #include "wx/utils.h" diff --git a/src/motif/checklst.cpp b/src/motif/checklst.cpp index b609661ac9..740a1ad14b 100644 --- a/src/motif/checklst.cpp +++ b/src/motif/checklst.cpp @@ -17,6 +17,8 @@ #pragma implementation "checklst.h" #endif +#include "wx/defs.h" + #include "wx/checklst.h" // ============================================================================ diff --git a/src/motif/choice.cpp b/src/motif/choice.cpp index a25d112e25..9cfe04c8d1 100644 --- a/src/motif/choice.cpp +++ b/src/motif/choice.cpp @@ -18,7 +18,8 @@ #define XtParent XTPARENT #endif -// For compilers that support precompilation, includes "wx.h". +#include "wx/defs.h" + #include "wx/choice.h" #include "wx/utils.h" diff --git a/src/motif/control.cpp b/src/motif/control.cpp index c31dec797f..310c2c6861 100644 --- a/src/motif/control.cpp +++ b/src/motif/control.cpp @@ -13,6 +13,8 @@ #pragma implementation "control.h" #endif +#include "wx/defs.h" + #include "wx/control.h" #include "wx/panel.h" #include "wx/utils.h" diff --git a/src/motif/menu.cpp b/src/motif/menu.cpp index 964bc73ac8..ba16e31c36 100644 --- a/src/motif/menu.cpp +++ b/src/motif/menu.cpp @@ -22,6 +22,8 @@ // headers // ---------------------------------------------------------------------------- +#include "wx/defs.h" + #include "wx/menu.h" #include "wx/menuitem.h" #include "wx/log.h" diff --git a/src/motif/menuitem.cpp b/src/motif/menuitem.cpp index a3081a45f7..bb464edeae 100644 --- a/src/motif/menuitem.cpp +++ b/src/motif/menuitem.cpp @@ -21,6 +21,8 @@ // headers // ---------------------------------------------------------------------------- +#include "wx/defs.h" + #include "wx/menu.h" #include "wx/menuitem.h" #include "wx/utils.h" diff --git a/src/motif/radiobox.cpp b/src/motif/radiobox.cpp index 6d4d088da2..96a2f01808 100644 --- a/src/motif/radiobox.cpp +++ b/src/motif/radiobox.cpp @@ -17,6 +17,8 @@ #define XtDisplay XTDISPLAY #endif +#include "wx/defs.h" + #include "wx/radiobox.h" #include "wx/utils.h" diff --git a/src/motif/radiobut.cpp b/src/motif/radiobut.cpp index 2668796a3e..9d77c21388 100644 --- a/src/motif/radiobut.cpp +++ b/src/motif/radiobut.cpp @@ -17,6 +17,8 @@ #define XtDisplay XTDISPLAY #endif +#include "wx/defs.h" + #include "wx/radiobut.h" #include "wx/utils.h" diff --git a/src/motif/scrolbar.cpp b/src/motif/scrolbar.cpp index 655353e458..e0a15b4a4c 100644 --- a/src/motif/scrolbar.cpp +++ b/src/motif/scrolbar.cpp @@ -13,6 +13,8 @@ #pragma implementation "scrolbar.h" #endif +#include "wx/defs.h" + #include "wx/scrolbar.h" #ifdef __VMS__ diff --git a/src/motif/statbmp.cpp b/src/motif/statbmp.cpp index 3d35638883..49fe6c600a 100644 --- a/src/motif/statbmp.cpp +++ b/src/motif/statbmp.cpp @@ -13,6 +13,8 @@ #pragma implementation "statbmp.h" #endif +#include "wx/defs.h" + #include "wx/statbmp.h" #ifdef __VMS__ diff --git a/src/motif/statbox.cpp b/src/motif/statbox.cpp index b5012e9dce..4258f52c1c 100644 --- a/src/motif/statbox.cpp +++ b/src/motif/statbox.cpp @@ -17,6 +17,8 @@ #define XtDisplay XTDISPLAY #endif +#include "wx/defs.h" + #include "wx/statbox.h" #include "wx/utils.h" diff --git a/src/motif/window.cpp b/src/motif/window.cpp index ba7350acb3..c639ebf210 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -1669,8 +1669,8 @@ bool wxWindow::ProcessAccelerator(wxKeyEvent& event) wxAcceleratorEntry* entry = & (entries[i]); if (entry->MatchesEvent(event)) { - // Bingo, we have a match. Now find a control that matches the entry - // command id. + // Bingo, we have a match. Now find a control that matches the + // entry command id. // Need to go up to the top of the window hierarchy, since it might // be e.g. a menu item -- 2.45.2