]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/printwin.h
fix for [ 1020924 ] wx.Display.IsPrimary is wrong
[wxWidgets.git] / include / wx / msw / printwin.h
index b3cd849f037b487462d60b9cff7ed86b950b789b..6aef6a4d29818d52b37483d25403d2da1abf9a77 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_PRINTWIN_H_
 #define _WX_PRINTWIN_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "printwin.h"
 #endif
 
@@ -32,7 +32,7 @@ public:
 
     virtual bool Print(wxWindow *parent,
                        wxPrintout *printout,
-                       bool prompt = TRUE);
+                       bool prompt = true);
     virtual wxDC* PrintDialog(wxWindow *parent);
     virtual bool Setup(wxWindow *parent);