Fix PCH-less compilation of wx/richtooltip.h too.
We need to include the full wxColour declaration instead of just forward declaring it as we use its ctor for a default value of a parameter. Also include wx/defs.h to ensure that wxUSE_RICHTOOLTIP is defined before testing it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -11,9 +11,12 @@
|
||||
#ifndef _WX_RICHTOOLTIP_H_
|
||||
#define _WX_RICHTOOLTIP_H_
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
#if wxUSE_RICHTOOLTIP
|
||||
|
||||
class WXDLLIMPEXP_FWD_CORE wxColour;
|
||||
#include "wx/colour.h"
|
||||
|
||||
class WXDLLIMPEXP_FWD_CORE wxFont;
|
||||
class WXDLLIMPEXP_FWD_CORE wxIcon;
|
||||
class WXDLLIMPEXP_FWD_CORE wxWindow;
|
||||
|
Reference in New Issue
Block a user