X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bdcade0a101893a5030ac2e91dabc79e1388b0a3..768a499594fd9c9fd0155d0513c7f5b785ce4439:/src/common/paper.cpp diff --git a/src/common/paper.cpp b/src/common/paper.cpp index 8aeb3adac2..126dcc282f 100644 --- a/src/common/paper.cpp +++ b/src/common/paper.cpp @@ -1,12 +1,12 @@ ///////////////////////////////////////////////////////////////////////////// // Name: paper.cpp // Purpose: Paper size classes -// Author: Julian Smart +// Author: Julian Smart // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) @@ -38,13 +38,10 @@ #include #ifdef __WXMSW__ -#include "wx/msw/wrapwin.h" -#include - -#ifndef __WIN32__ -#include -#endif - + #include "wx/msw/wrapcdlg.h" + #ifndef __WIN32__ + #include + #endif #endif // End __WXMSW__ @@ -59,7 +56,7 @@ wxPrintPaperType::wxPrintPaperType() { m_paperId = wxPAPER_NONE; m_platformId = 0; - m_paperName = wxT(""); + m_paperName = wxEmptyString; m_width = 0; m_height = 0; } @@ -283,7 +280,7 @@ wxSize wxPrintPaperDatabase::GetSize(wxPaperSize paperId) if (type) return type->GetSize(); else - return wxSize(0, 0); + return wxSize(0,0); } // Get the paper size @@ -330,7 +327,7 @@ bool wxPrintPaperModule::OnInit() wxThePrintPaperDatabase = new wxPrintPaperDatabase; wxThePrintPaperDatabase->CreateDatabase(); - return TRUE; + return true; } void wxPrintPaperModule::OnExit()