Changed __GTK__, __WINDOWS__ and __MOTIF__ to __WXGTK__, __WXMSW__ and __WXMOTIF__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
#include "wx/gdicmn.h"
|
||||
#include "wx/cmndata.h"
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef __WXMSW__
|
||||
#include <windows.h>
|
||||
|
||||
#ifndef __WIN32__
|
||||
@@ -127,7 +127,7 @@ void wxFontData::operator=(const wxFontData& data)
|
||||
|
||||
wxPrintData::wxPrintData(void)
|
||||
{
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef __WXMSW__
|
||||
printData = NULL;
|
||||
#endif
|
||||
printOrientation = wxPORTRAIT;
|
||||
@@ -148,7 +148,7 @@ wxPrintData::wxPrintData(void)
|
||||
|
||||
wxPrintData::~wxPrintData(void)
|
||||
{
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef __WXMSW__
|
||||
PRINTDLG *pd = (PRINTDLG *)printData;
|
||||
if ( pd && pd->hDevMode )
|
||||
GlobalFree(pd->hDevMode);
|
||||
@@ -157,7 +157,7 @@ wxPrintData::~wxPrintData(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef __WXMSW__
|
||||
void wxPrintData::ConvertToNative(void)
|
||||
{
|
||||
PRINTDLG *pd = (PRINTDLG*) printData;
|
||||
|
Reference in New Issue
Block a user