diff --git a/src/msw/Makefile.am b/src/msw/Makefile.am index ef5ce9996e..50b4d3a17a 100644 --- a/src/msw/Makefile.am +++ b/src/msw/Makefile.am @@ -173,6 +173,7 @@ libwx_msw_la_SOURCES = \ spinbutt.cpp \ statbmp.cpp \ statbox.cpp \ + statline.cpp \ stattext.cpp \ tbar95.cpp \ textctrl.cpp \ diff --git a/src/msw/statline.cpp b/src/msw/statline.cpp index 46df810d04..1c51bf61d9 100644 --- a/src/msw/statline.cpp +++ b/src/msw/statline.cpp @@ -76,8 +76,9 @@ bool wxStaticLine::Create( wxWindow *parent, if ( !m_hWnd ) { +#ifdef __WXDEBUG__ wxLogDebug(_T("Failed to create static control")); - +#endif return FALSE; }