Make it possible to include wx/base64.h as the first header
Include wx/defs.h before testing for wxUSE_BASE64, otherwise the test would always fail if wx/base64.h is the first wx header to be included.
This commit is contained in:
@@ -9,6 +9,8 @@
|
|||||||
#ifndef _WX_BASE64_H_
|
#ifndef _WX_BASE64_H_
|
||||||
#define _WX_BASE64_H_
|
#define _WX_BASE64_H_
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_BASE64
|
#if wxUSE_BASE64
|
||||||
|
|
||||||
#include "wx/string.h"
|
#include "wx/string.h"
|
||||||
|
Reference in New Issue
Block a user