]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/prntbase.h
Reverted part of patch #876969 ("Fixes to Borland warnings"), resulted in bugs when...
[wxWidgets.git] / include / wx / prntbase.h
index 4e13fcd4ac187bd8865a7027dc6e0a739e526375..829d17f87a6a349b67118b8c75b282ca5d4abc68 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_PRNTBASEH__
 #define _WX_PRNTBASEH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "prntbase.h"
 #endif
 
@@ -197,7 +197,7 @@ public:
                    const wxString& title = wxT("Print Preview"),
                    const wxPoint& pos = wxDefaultPosition,
                    const wxSize& size = wxDefaultSize,
-                   long style = wxDEFAULT_FRAME_STYLE,
+                   long style = wxDEFAULT_FRAME_STYLE|wxFULL_REPAINT_ON_RESIZE,
                    const wxString& name = wxT("frame"));
     ~wxPreviewFrame();