diff --git a/src/msw/control.cpp b/src/msw/control.cpp index 05370f4505..8e72df223d 100644 --- a/src/msw/control.cpp +++ b/src/msw/control.cpp @@ -187,7 +187,7 @@ bool wxControl::MSWCreateControl(const wxChar *classname, #if wxUSE_TREECTRL if ( wxDynamicCastThis(wxTreeCtrl) ) testFont = true; -#endif wxUSE_TREECTRL +#endif // wxUSE_TREECTRL if ( testFont ) {