It now compiles all these files without warnings in Unicode mode.
(at least It Works For Me(tm)) I will respond to any complaints when I wake up for another workday (any complaints will prove whether Vadim was right in that it's bound to break things) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1136,8 +1136,8 @@ void wxPageSetupDialogData::SetPaperSize(wxPaperSize id)
|
||||
void wxPageSetupDialogData::CalculateIdFromPaperSize()
|
||||
{
|
||||
wxASSERT_MSG( (wxThePrintPaperDatabase != (wxPrintPaperDatabase*) NULL),
|
||||
"wxThePrintPaperDatabase should not be NULL. "
|
||||
"Do not create global print dialog data objects." );
|
||||
_T("wxThePrintPaperDatabase should not be NULL. "
|
||||
"Do not create global print dialog data objects.") );
|
||||
|
||||
wxSize sz = GetPaperSize();
|
||||
|
||||
@@ -1152,8 +1152,8 @@ void wxPageSetupDialogData::CalculateIdFromPaperSize()
|
||||
void wxPageSetupDialogData::CalculatePaperSizeFromId()
|
||||
{
|
||||
wxASSERT_MSG( (wxThePrintPaperDatabase != (wxPrintPaperDatabase*) NULL),
|
||||
"wxThePrintPaperDatabase should not be NULL. "
|
||||
"Do not create global print dialog data objects." );
|
||||
_T("wxThePrintPaperDatabase should not be NULL. "
|
||||
"Do not create global print dialog data objects.") );
|
||||
|
||||
wxSize sz = wxThePrintPaperDatabase->GetSize(m_printData.GetPaperId());
|
||||
|
||||
|
Reference in New Issue
Block a user