]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/mdi.h
compilation fix for non-PCH
[wxWidgets.git] / include / wx / mac / mdi.h
index ec727aa3310fb30cc9c7d86246808065a2d85dd7..3886829522071f2cbea9b67060436362b41bc35d 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef _WX_MDI_H_
 #define _WX_MDI_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "mdi.h"
 #endif
 
@@ -28,9 +28,8 @@ class WXDLLEXPORT wxMDIChildFrame;
 
 class WXDLLEXPORT wxMDIParentFrame: public wxFrame
 {
-DECLARE_DYNAMIC_CLASS(wxMDIParentFrame)
+  DECLARE_DYNAMIC_CLASS(wxMDIParentFrame)
 
-  friend class WXDLLEXPORT wxMDIChildFrame;
 public:
 
   wxMDIParentFrame();