]> git.saurik.com Git - wxWidgets.git/commitdiff
- forward declare wxDC for use as a pointer or reference parameter in
authorDavid Elliott <dfe@tgwbd.org>
Sat, 22 Mar 2003 06:00:12 +0000 (06:00 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Sat, 22 Mar 2003 06:00:12 +0000 (06:00 +0000)
  wxDCBase methods
- Include wxCocoa specific header

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dc.h

index 75f3dc348ad6d9c5b76424d68befe261c7c4ffe1..6005856fc3e0c886e14939f1e7e0f6018bb07607 100644 (file)
@@ -30,6 +30,7 @@
 #include "wx/palette.h"
 #include "wx/list.h"            // we use wxList in inline functions
 
+class WXDLLEXPORT wxDC;
 class WXDLLEXPORT wxDCBase;
 
 class WXDLLEXPORT wxDrawObject
@@ -768,6 +769,8 @@ private:
     #include "wx/mgl/dc.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/dc.h"
+#elif defined(__WXCOCOA__)
+    #include "wx/cocoa/dc.h"
 #elif defined(__WXPM__)
     #include "wx/os2/dc.h"
 #endif