X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3017584ba511936444abd5a2400e0519f35416f..9f7948af90ec2e3b907944e7d979f0863910c5c8:/src/generic/htmllbox.cpp diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index 4bbcf8399b..91be6e7ac7 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -28,6 +28,8 @@ #include "wx/dcclient.h" #endif //WX_PRECOMP +#if wxUSE_HTML + #include "wx/htmllbox.h" #include "wx/html/htmlcell.h" @@ -315,3 +317,4 @@ wxCoord wxHtmlListBox::OnMeasureItem(size_t n) const return cell->GetHeight() + cell->GetDescent() + 4; } +#endif