X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aad5220b823778a271e25ca74e4127034161e280..ba7f9a90b411a1b8b940d92c3fc26b2ee2cdafcc:/src/common/prntbase.cpp diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index ed54807594..99dcfbc57d 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -20,10 +20,12 @@ #pragma hdrstop #endif -// #define __GOOD_COMPILER__ - #include "wx/defs.h" +#ifdef __WXMSW__ +#define __GOOD_COMPILER__ +#endif + #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/dc.h" @@ -45,7 +47,7 @@ #include #include -#ifdef __WINDOWS__ +#ifdef __WXMSW__ #include #include @@ -75,7 +77,7 @@ typedef signed short int SHORT ; LONG APIENTRY _EXPORT wxAbortProc(HDC hPr, int Code); #endif - // End __WINDOWS__ + // End __WXMSW__ #if !USE_SHARED_LIBRARY IMPLEMENT_CLASS(wxPrinterBase, wxObject) @@ -335,7 +337,7 @@ void wxPreviewControlBar::CreateButtons(void) SetSize(0, 0, 400, 40); -#ifdef __WINDOWS__ +#ifdef __WXMSW__ int fontSize = 9; #else int fontSize = 10; @@ -482,7 +484,7 @@ void wxPreviewFrame::Initialize(void) // int w, h; // controlBar->GetSize(&w, &h); int h; -#ifdef __WINDOWS__ +#ifdef __WXMSW__ h = 40; #else h = 60;