]> git.saurik.com Git - wxWidgets.git/commitdiff
Needed to add #include "wx/statusbr.h" to know that wxStatusBar is derived
authorDavid Elliott <dfe@tgwbd.org>
Fri, 30 Sep 2005 16:39:41 +0000 (16:39 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Fri, 30 Sep 2005 16:39:41 +0000 (16:39 +0000)
from wxWindow for valid pointer comparison.
Went ahead and moved some includes into new ifndef WX_PRECOMP section to
improve compilation speed when using precompiled headers.

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

src/mac/carbon/mdi.cpp

index 84a4c6c489796d183436413b3a4170f6079b4ebd..c3951ca0e1965026b346b3ee6acc866498de35be 100644 (file)
 
 #if wxUSE_MDI
 
 
 #if wxUSE_MDI
 
-#include "wx/mdi.h"
-#include "wx/menu.h"
-#include "wx/settings.h"
-#include "wx/log.h"
+#ifndef WX_PRECOMP
+    #include "wx/mdi.h"
+    #include "wx/log.h"
+    #include "wx/menu.h"
+    #include "wx/settings.h"
+    #include "wx/statusbr.h"
+#endif
 
 #include "wx/mac/private.h"
 #include "wx/mac/uma.h"
 
 #include "wx/mac/private.h"
 #include "wx/mac/uma.h"