From cb3f8f3a5c88e8570a7b1651ac2ace705f06ea88 Mon Sep 17 00:00:00 2001 From: novak Date: Fri, 3 Dec 2021 15:46:43 +0100 Subject: [PATCH] Fix printing framework compilation with wxUSE_VALIDATORS=0 Include wx/textctrl.h, required here because wxTextCtrl is used as the base class of wxPrintPageTextCtrl, explicitly instead of relying on it being implicitly included by something else, as it happens in the default build but not when validators are disabled. Closes #19337. --- src/common/prntbase.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index fd0651f164..0f0c5ece7a 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -34,6 +34,7 @@ #include "wx/dcclient.h" #include "wx/stattext.h" #include "wx/intl.h" + #include "wx/textctrl.h" #include "wx/textdlg.h" #include "wx/sizer.h" #include "wx/module.h"