From 819850ff060cc66221a14661a339f2c841fd4f0b Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Wed, 18 Apr 2007 17:15:56 +0000 Subject: [PATCH] non-pch build fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/stc/PlatWX.cpp | 3 ++- src/stc/ScintillaWX.cpp | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index 095d031fb3..6d5e4a622b 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -783,7 +783,7 @@ END_EVENT_TABLE() #if wxUSE_POPUPWIN //----------------------------------- -#include +#include "wx/popupwin.h" // @@ -913,6 +913,7 @@ END_EVENT_TABLE() #else // !wxUSE_POPUPWIN ----------------------------------- +#include "wx/frame.h" // A normal window to place the wxSTCListBox upon, but make it behave as much // like a wxPopupWindow as possible diff --git a/src/stc/ScintillaWX.cpp b/src/stc/ScintillaWX.cpp index dfd62a5da8..a45fc33fcd 100644 --- a/src/stc/ScintillaWX.cpp +++ b/src/stc/ScintillaWX.cpp @@ -96,15 +96,16 @@ void wxSTCDropTarget::OnLeave() { #if wxUSE_POPUPWIN && wxSTC_USE_POPUP -#include +#include "wx/popupwin.h" #define wxSTCCallTipBase wxPopupWindow #define param2 wxBORDER_NONE // popup's 2nd param is flags #else +#include "wx/frame.h" #define wxSTCCallTipBase wxFrame #define param2 -1 // wxWindow's 2nd param is ID #endif -#include +#include "wx/dcbuffer.h" class wxSTCCallTip : public wxSTCCallTipBase { public: -- 2.50.0