Fix several build errors in WXQT

Move declaration of wxOwnerDrawnBase::ms_defaultMargin to correct file.
Do not include headers when wxUSE_UIACTIONSIMULATOR is disabled.
Add guards for wxUSE_DRAG_AND_DROP.
Use a different wxFont constructor in printing sample, which is also available in WXQT.
This commit is contained in:
Maarten Bent
2018-09-25 21:28:30 +02:00
parent 4e23b3e7f4
commit 7f0d7ef520
7 changed files with 16 additions and 9 deletions

View File

@@ -133,7 +133,9 @@ public:
QWidget *GetHandle() const wxOVERRIDE;
#if wxUSE_DRAG_AND_DROP
virtual void SetDropTarget( wxDropTarget *dropTarget ) wxOVERRIDE;
#endif
#if wxUSE_ACCEL
// accelerators