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:
parent
3aaa31e703
commit
05cce8d89d
1 changed files with 4 additions and 0 deletions
|
|
@ -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_
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue