X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/90b6b974677c26b434fd9810202f4334af2efc27..9513c5b609740c15322f2284e5e8b9609eeaa069:/include/wx/prntbase.h diff --git a/include/wx/prntbase.h b/include/wx/prntbase.h index 4e13fcd4ac..829d17f87a 100644 --- a/include/wx/prntbase.h +++ b/include/wx/prntbase.h @@ -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();