]> git.saurik.com Git - wxWidgets.git/commitdiff
Avoid cyclic includes by forward declaring wxColour.
authorStefan Neis <Stefan.Neis@t-online.de>
Tue, 7 Oct 2008 22:22:19 +0000 (22:22 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Tue, 7 Oct 2008 22:22:19 +0000 (22:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/os2/private.h
include/wx/os2/tls.h

index a204619b5155fd96c75c978b958d92763273b299..cd13cf995b02d94b67f8204d55b78c1b99460d10 100644 (file)
@@ -412,8 +412,7 @@ WXDLLIMPEXP_CORE extern wxBitmap wxDisableBitmap( const wxBitmap& rBmp
                                             ,long            lColor
                                            );
 #if wxUSE_GUI
-#include "wx/colour.h"
-
+class wxColour;
 WXDLLIMPEXP_CORE extern COLORREF wxColourToRGB(const wxColour& rColor);
 #endif
 
index a70d6aa7dfe18724cd42c640a7a4bcfd18126e5c..9746f3cf9383a431eb8344799edeced5e46b65fd 100644 (file)
@@ -8,8 +8,8 @@
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-#ifndef _WX_MSW_TLS_H_
-#define _WX_MSW_TLS_H_
+#ifndef _WX_OS2_TLS_H_
+#define _WX_OS2_TLS_H_
 
 #include "wx/os2/private.h"
 
@@ -57,5 +57,5 @@ private:
     DECLARE_NO_COPY_CLASS(wxTlsKey)
 };
 
-#endif // _WX_MSW_TLS_H_
+#endif // _WX_OS2_TLS_H_