Fix wx/display.h compilation when it's the first included header
Include wx/defs.h to ensure that wxUSE_DISPLAY is defined before it is checked for.
This commit is contained in:
parent
9619950721
commit
b4aaa10032
1 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,8 @@
|
|||
#ifndef _WX_DISPLAY_H_BASE_
|
||||
#define _WX_DISPLAY_H_BASE_
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
// NB: no #if wxUSE_DISPLAY here, the display geometry part of this class (but
|
||||
// not the video mode stuff) is always available but if wxUSE_DISPLAY == 0
|
||||
// it becomes just a trivial wrapper around the old wxDisplayXXX() functions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue