X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc985face55ed02c310860afefc8e6d656fb849d..1ecffbff714ff707ded9266bf27c3347946cbcd9:/src/msw/statline.cpp diff --git a/src/msw/statline.cpp b/src/msw/statline.cpp index 5737b15039..1c51bf61d9 100644 --- a/src/msw/statline.cpp +++ b/src/msw/statline.cpp @@ -29,6 +29,8 @@ #include "wx/statline.h" +#if wxUSE_STATLINE + #include "wx/msw/private.h" // ============================================================================ @@ -74,8 +76,9 @@ bool wxStaticLine::Create( wxWindow *parent, if ( !m_hWnd ) { +#ifdef __WXDEBUG__ wxLogDebug(_T("Failed to create static control")); - +#endif return FALSE; } @@ -83,4 +86,5 @@ bool wxStaticLine::Create( wxWindow *parent, return TRUE; } +#endif