Permalink
Browse files

Change include style in Document.h; remove includes from IPrintableDo…

…cument since it just includes Document.h right away anyway.
  • Loading branch information...
1 parent ba4a6eb commit b0361c95045213e4f1b8e451f76be507b500f706 @adamv adamv committed May 14, 2009
Showing with 2 additions and 6 deletions.
  1. +2 −1 src/Document.h
  2. +0 −5 src/IPrintableDocument.h
View
3 src/Document.h
@@ -19,9 +19,10 @@
#endif
#include "wx/wxprec.h" // For compilers that support precompilation, includes "wx/wx.h".
-#ifdef __WXGTK__
+#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
+
#include "Catalyst.h"
#include "DataText.h"
View
5 src/IPrintableDocument.h
@@ -1,11 +1,6 @@
#ifndef __IPRINTABLEDOCUMEHT_H__
#define __IPRINTABLEDOCUMEHT_H__
-#include "wx/wxprec.h" // For compilers that support precompilation, includes "wx/wx.h".
-#ifdef __WXGTK__
- #include <wx/wx.h>
-#endif
-
#include "Document.h"
class IPrintableDocument {

0 comments on commit b0361c9

Please sign in to comment.