Add wxUSE_HTML check to wxHtmlListBox header
Avoid compilation errors if wx/htmllbox.h gets included when wxUSE_HTML is off.
This commit is contained in:
committed by
Vadim Zeitlin
parent
3aaa31e703
commit
05cce8d89d
@@ -11,6 +11,8 @@
|
||||
#ifndef _WX_HTMLLBOX_H_
|
||||
#define _WX_HTMLLBOX_H_
|
||||
|
||||
#if wxUSE_HTML
|
||||
|
||||
#include "wx/vlbox.h" // base class
|
||||
#include "wx/html/htmlwin.h"
|
||||
#include "wx/ctrlsub.h"
|
||||
@@ -320,5 +322,7 @@ protected:
|
||||
wxDECLARE_NO_COPY_CLASS(wxSimpleHtmlListBox);
|
||||
};
|
||||
|
||||
#endif // wxUSE_HTML
|
||||
|
||||
#endif // _WX_HTMLLBOX_H_
|
||||
|
||||
|
Reference in New Issue
Block a user