]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statline.cpp
fix compilation without wxUSE_STREAMS (closes #10900)
[wxWidgets.git] / src / generic / statline.cpp
index 612bcb8211fa92108fe557f09301b7ae73d57c49..023745015db8b4044064c3c0bd3245f07105d987 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        generic/statline.cpp
+// Name:        src/generic/statline.cpp
 // Purpose:     a generic wxStaticLine class
 // Author:      Vadim Zeitlin
 // Created:     28.06.99
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "statline.h"
-#endif
-
 #include "wx/wxprec.h"
-#if wxUSE_STATLINE
+
 // For compilers that support precompilation, includes "wx.h".
 
 #ifdef __BORLANDC__
     #pragma hdrstop
 #endif
 
+#if wxUSE_STATLINE
+
 #include "wx/statline.h"
-#include "wx/statbox.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/statbox.h"
+#endif
 
 // ============================================================================
 // implementation